Sha256: 2f5611ecd70ccce9e191520d829b08cf0b8f2a287ead5840834de348a5de5cea
Contents?: true
Size: 1.15 KB
Versions: 1
Compression:
Stored size: 1.15 KB
Contents
module Spec::DSL::Main alias :Feature :describe def Story(description) @description_args.push("\n#{description}\n") end end module Spec::Example::ExampleGroupMethods def Scenario(description, &blk) describe("Scenario: #{description}", &blk) end def Given(description, &blk) describe("Given #{description}", &blk) end def When(description, &blk) describe("When #{description}", &blk) end def Then(description, &blk) example("Then #{description}", &blk) end def And(description, &blk) example("And #{description}", &blk) end def But(description, &blk) example("But #{description}", &blk) end def executes(scope=:all, &blk) before(scope, &blk) end def Background(description, &blk) describe("Background #{description}", &blk) end end if defined? ActionController::Integration::Session class ActionController::Integration::Session include Spec::Matchers end end if defined? Webrat Webrat.configure do |config| config.mode = :rails end if defined? Spec::Runner Spec::Runner.configure do |config| config.include(Webrat::Matchers, :type => [:integration]) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
unencumbered-0.0.6 | lib/unencumbered.rb |