]> git.wincent.com - walrat.git/commit
Update to RSpec 3.1.0
authorGreg Hurrell <greg@hurrell.net>
Sun, 19 Oct 2014 21:15:01 +0000 (14:15 -0700)
committerGreg Hurrell <greg@hurrell.net>
Sun, 19 Oct 2014 21:15:01 +0000 (14:15 -0700)
commite278f5eb46e8a16915e555381a365a062fafe50e
tree728935ecb75f210333c114bc8d8585ab0c02d39e
parent58570c17f59f583b075f85cfa4f261574a104197
Update to RSpec 3.1.0

Surprisingly, little broke in the move from 1.3.0 to 3.1.0. Changes
included:

- simplify `require 'spec_helper'` statements
- kill some old lambdas
- change `expect`/`should` assertions to `expect`/`to`
- updates for new mock API
- update binstubs
- drop explicit `require 'rubygems'` from spec helper; we'll always run
  using `bin/rspec`
- tweak `pending` examples, as RSpec now complains if they have a block
  which doesn't raise an error

Note, we're still mostly using the deprecated `should` syntax. I'll
leave the move to `expect` for another moment.
37 files changed:
.bundle/config [new file with mode: 0644]
Gemfile.lock
bin/autospec [deleted file]
bin/bundler [new file with mode: 0755]
bin/htmldiff [new file with mode: 0755]
bin/ldiff [new file with mode: 0755]
bin/rspec [new file with mode: 0755]
bin/spec [deleted file]
bin/yard-graph [new file with mode: 0755]
bin/yardoc [new file with mode: 0755]
bin/yri [new file with mode: 0755]
spec/additions/proc_spec.rb
spec/additions/regexp_spec.rb
spec/additions/string_spec.rb
spec/and_predicate_spec.rb
spec/continuation_wrapper_exception_spec.rb
spec/grammar_spec.rb
spec/match_data_wrapper_spec.rb
spec/memoizing_cache_spec.rb
spec/node_spec.rb
spec/not_predicate_spec.rb
spec/parser_state_spec.rb
spec/parslet_choice_spec.rb
spec/parslet_combining_spec.rb
spec/parslet_merge_spec.rb
spec/parslet_omission_spec.rb
spec/parslet_repetition_spec.rb
spec/parslet_sequence_spec.rb
spec/parslet_spec.rb
spec/predicate_spec.rb
spec/proc_parslet_spec.rb
spec/regexp_parslet_spec.rb
spec/spec_helper.rb
spec/string_enumerator_spec.rb
spec/string_parslet_spec.rb
spec/symbol_parslet_spec.rb
walrat.gemspec