Module: Subdomainitis::SpecHelpers
- Extended by:
- RSpec::Matchers::DSL
- Defined in:
- lib/subdomainitis/spec_helpers.rb
Instance Method Summary collapse
Instance Method Details
#generate(args) ⇒ Object
41 42 43 |
# File 'lib/subdomainitis/spec_helpers.rb', line 41 def generate(args) url_helpers.url_for({:host => 'test.host'}.merge(args)) end |
#url_helpers ⇒ Object
45 46 47 |
# File 'lib/subdomainitis/spec_helpers.rb', line 45 def url_helpers subject.url_helpers end |