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
dchelimsky-rspec-1.1.10 failing_examples/syntax_error_example.rb
dchelimsky-rspec-1.1.11.1 examples/failing/syntax_error_example.rb
dchelimsky-rspec-1.1.11.2 examples/failing/syntax_error_example.rb
dchelimsky-rspec-1.1.11.3 examples/failing/syntax_error_example.rb
dchelimsky-rspec-1.1.11.4 examples/failing/syntax_error_example.rb
dchelimsky-rspec-1.1.11.5 examples/failing/syntax_error_example.rb
dchelimsky-rspec-1.1.11.6 examples/failing/syntax_error_example.rb
dchelimsky-rspec-1.1.11.7 examples/failing/syntax_error_example.rb
dchelimsky-rspec-1.1.12 examples/failing/syntax_error_example.rb
dchelimsky-rspec-1.1.99.1 examples/failing/syntax_error_example.rb
dchelimsky-rspec-1.1.99.13 examples/failing/syntax_error_example.rb
dchelimsky-rspec-1.1.99.2 examples/failing/syntax_error_example.rb
dchelimsky-rspec-1.1.99.3 examples/failing/syntax_error_example.rb
dchelimsky-rspec-1.1.99.4 examples/failing/syntax_error_example.rb
dchelimsky-rspec-1.1.99.5 examples/failing/syntax_error_example.rb
dchelimsky-rspec-1.1.99.6 examples/failing/syntax_error_example.rb
dchelimsky-rspec-1.1.99.7 examples/failing/syntax_error_example.rb
dchelimsky-rspec-1.1.99.8 examples/failing/syntax_error_example.rb
dchelimsky-rspec-1.1.99.9 examples/failing/syntax_error_example.rb
jnstq-acts_as_sms-0.1.0 test/vendor/plugins/rspec/failing_examples/syntax_error_example.rb