Browse files

closes #1339, thanks @fernandomm!

  • Loading branch information...
1 parent 6a11609 commit a5a1f08b3f3153fdefb763988747eecf41e18348 @bbenezech bbenezech committed Nov 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/unit/config/fields/base_spec.rb
View
2 spec/unit/config/fields/base_spec.rb
@@ -14,7 +14,7 @@
context 'on a Paperclip installation' do
it "should detect required fields" do
- RailsAdmin.config('Image').fields.find{ |f| f.name == :file }.with(:object => Image.new).should be_required
+ expect(RailsAdmin.config('Image').fields.find{ |f| f.name == :file }.with(:object => Image.new)).to be_required
end
end
end

0 comments on commit a5a1f08

Please sign in to comment.