Skip to content

Commit

Permalink
Compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
ta1kt0me committed Jan 14, 2016
1 parent 2adb492 commit 7e5bbac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/features/validation_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@

context 'with validation context' do
background do
Person.validates_presence_of :name, :bio, on: :create
Person.validates_presence_of :name, :bio, {:on => :create}
end
after do
Person._validators.clear
Expand Down Expand Up @@ -220,7 +220,7 @@

context 'with validation context' do
background do
Item.validates_presence_of :name, :description, on: :create
Item.validates_presence_of :name, :description, {:on => :create}
end
after do
Item._validators.clear
Expand Down

0 comments on commit 7e5bbac

Please sign in to comment.