This file contains 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: Visit the local conditions page for a location where conditions are available | |
Given I have a demonstration site | |
And the web service knows about "Sydney, NSW" | |
When I visit "/weather/local-conditions/nsw/sydney" | |
Then I should see "Sydney current conditions" | |
And I should see a "Dew point" value of "14" |
This file contains 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
require 'singleton' | |
class String | |
class TextHelperSingleton | |
include Singleton | |
include ActionView::Helpers::TextHelper | |
end | |
def method_missing(method, *args) |