1
0
Fork 0
mirror of https://github.com/drapergem/draper synced 2023-03-27 23:21:17 -04:00
draper/spec/generators/decorator
Morgan Lieberthal f4bb26bd53 Updated all specs to RSpec 3.0 syntax
Change specs to use synax `expect(OBJECT).to EXPECTATION` rather that
`OBJECT.should`. Changed all `OBJECT.stub(METHOD)` to `allow(OBJECT).to
receive(:method)`

Change one-liners to use syntax: `it { is_expected.to XXX }` rather than
`it { should }`.
2015-08-27 01:08:59 -06:00
..
decorator_generator_spec.rb Updated all specs to RSpec 3.0 syntax 2015-08-27 01:08:59 -06:00