diff options
Diffstat (limited to 'spec')
-rw-r--r-- | spec/models/profile_photo_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/profile_photo_spec.rb b/spec/models/profile_photo_spec.rb index 1e33c5b61..7811fb5fc 100644 --- a/spec/models/profile_photo_spec.rb +++ b/spec/models/profile_photo_spec.rb @@ -35,7 +35,7 @@ describe ProfilePhoto, "when constructing a new photo" do it 'should accept a draft PNG and not resize it' do data = load_file_fixture("parrot.png") - profile_photo = ProfilePhoto.new(:draft => true, :data => data) + profile_photo = ProfilePhoto.new(:data => data, :draft => true) profile_photo.valid?.should == true profile_photo.image.format.should == 'PNG' profile_photo.image.columns.should == 198 |