Created
October 27, 2009 20:26
-
-
Save amiel/219920 to your computer and use it in GitHub Desktop.
allow cucumber steps to refernce i18n
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Then /^I should see :"([^\"]*)"$/ do |text| | |
assert_contain I18n.t(text) | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Scenario: | |
Then I should see :"foo.bar.baz" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment