Sha256: 0abced8dbc3c69a7508d55a81675562ec32b9f30b0197ee815e7382bcc89c2c4

Contents?: true

Size: 228 Bytes

Versions: 139

Compression:

Stored size: 228 Bytes

Contents

describe "when passing a block to a matcher" do
  it "you should use {} instead of do/end" do
    Object.new.should satisfy do
      "this block is being passed to #should instead of #satisfy - use {} instead"
    end
  end
end

Version data entries

139 entries across 139 versions & 22 rubygems

Version Path
merb-core-1.1.0.rc1 spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/failing_examples/syntax_error_example.rb
rspec-core-2.0.0.beta.3 example_specs/failing/syntax_error_example.rb
rspec-core-2.0.0.beta.2 example_specs/failing/syntax_error_example.rb
rspec-core-2.0.0.beta.1 example_specs/failing/syntax_error_example.rb
rspec-core-2.0.0.a10 example_specs/failing/syntax_error_example.rb
rspec-core-2.0.0.a9 example_specs/failing/syntax_error_example.rb
rspec-core-2.0.0.a8 example_specs/failing/syntax_error_example.rb
rspec-core-2.0.0.a7 example_specs/failing/syntax_error_example.rb
rspec-core-2.0.0.a6 example_specs/failing/syntax_error_example.rb
rspec-core-2.0.0.a5 example_specs/failing/syntax_error_example.rb
rspec-core-2.0.0.a4 example_specs/failing/syntax_error_example.rb
rspec-core-2.0.0.a3 example_specs/failing/syntax_error_example.rb
rspec-1.3.0 examples/failing/syntax_error_example.rb
simple-templater-0.0.1.4 gems/gems/rspec-1.2.9/examples/failing/syntax_error_example.rb
media-path-0.1.2 vendor/rspec/examples/failing/syntax_error_example.rb
simple-templater-0.0.1.3 vendor/rspec/examples/failing/syntax_error_example.rb
pupu-0.0.2.pre vendor/rspec/examples/failing/syntax_error_example.rb
media-path-0.1.1.pre vendor/rspec/examples/failing/syntax_error_example.rb
simple-templater-0.0.1.2 vendor/rspec/examples/failing/syntax_error_example.rb
media-path-0.1.1 vendor/rspec/examples/failing/syntax_error_example.rb