Module: Messiah::Supports::RSpec::ExampleGroup

Defined in:
lib/messiah/supports/rspec.rb

Instance Method Summary collapse

Instance Method Details

#host(val) ⇒ Object



13
14
15
# File 'lib/messiah/supports/rspec.rb', line 13

def host(val)
  Messiah.config.host val
end

#visit(url) ⇒ Object



8
9
10
11
# File 'lib/messiah/supports/rspec.rb', line 8

def visit(url)
  u = url =~ /^\// ? url : "/#{url}"
  super(u)
end