Skip to content

Commit

Permalink
Fixed bad test condition.
Browse files Browse the repository at this point in the history
  • Loading branch information
norman committed Aug 12, 2010
1 parent ea1cc85 commit 00093b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/active_record_adapter/scoped_model_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def teardown
end

test "should find a single scoped record with a scope as a string" do
assert Resident.find(@resident.friendly_id, :scope => @resident.country)
assert Resident.find(@resident.friendly_id, :scope => @resident.country.to_param)
end

test "should find a single scoped record with a scope" do
Expand Down Expand Up @@ -123,4 +123,4 @@ def teardown
end
end
end
end
end

0 comments on commit 00093b8

Please sign in to comment.