Skip to content

Commit

Permalink
fixup! Document country search with several fields
Browse files Browse the repository at this point in the history
  • Loading branch information
octopusinvitro committed Aug 4, 2016
1 parent 58a11fd commit 7b145d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/everypolitician_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def test_finds_country_by_hash_pair

def test_finds_country_by_several_fields
VCR.use_cassette('countries_json') do
country = Everypolitician::Country.find(country: 'Abkhazia', code: 'GE-AB')
country = Everypolitician::Country.find(country: 'Abkhazia', slug: 'Abkhazia')
assert_equal 'Abkhazia', country.name
end
end
Expand Down

0 comments on commit 7b145d9

Please sign in to comment.