Slide 33
Slide 33 text
Metadata
describe "something", :this => { :is => :arbitrary } do
it "does something", :and => "so is this" do
# ...
end
end
RSpec.configure do |c|
c.filter_run_excluding :ruby => lambda {|version|
!(RUBY_VERSION.to_s =~ /^#{version.to_s}/)
}
end
describe "something" do
it "does something", :ruby => 1.8 do
# ....
end
it "does something", :ruby => 1.9 do
# ....
end
end
Monday, June 20, 2011