discourse/spec
Arthur Neves b8cbe51026
Convert specs to RSpec 2.99.2 syntax with Transpec
This conversion is done by Transpec 3.1.0 with the following command:
    transpec

* 424 conversions
    from: obj.should
      to: expect(obj).to

* 325 conversions
    from: == expected
      to: eq(expected)

* 38 conversions
    from: obj.should_not
      to: expect(obj).not_to

* 15 conversions
    from: =~ /pattern/
      to: match(/pattern/)

* 9 conversions
    from: it { should ... }
      to: it { is_expected.to ... }

* 5 conversions
    from: lambda { }.should_not
      to: expect { }.not_to

* 4 conversions
    from: lambda { }.should
      to: expect { }.to

* 2 conversions
    from: -> { }.should
      to: expect { }.to

* 2 conversions
    from: -> { }.should_not
      to: expect { }.not_to

* 1 conversion
    from: === expected
      to: be === expected

* 1 conversion
    from: =~ [1, 2]
      to: match_array([1, 2])

For more details: https://github.com/yujinakayama/transpec#supported-conversions
2015-04-25 11:18:35 -04:00
..
components Convert specs to RSpec 2.99.2 syntax with Transpec 2015-04-25 11:18:35 -04:00
controllers Convert specs to RSpec 2.99.2 syntax with Transpec 2015-04-25 11:18:35 -04:00
fabricators Don't blow up if Redis switches to READONLY 2015-04-24 14:37:16 -04:00
fixtures FIX: auto response email replies should not be accepted 2014-12-04 22:39:13 +05:30
helpers Update rspec syntax to v3 2015-01-05 11:59:30 -03:00
integration Convert specs to RSpec 2.99.2 syntax with Transpec 2015-04-25 11:18:35 -04:00
integrity Convert specs to RSpec 2.99.2 syntax with Transpec 2015-04-25 11:18:35 -04:00
jobs FEATURE: user list csv includes approved, suspended_at, suspended_till, blocked 2015-04-22 12:40:12 -04:00
mailers FEATURE: invite existing user to a topic 2015-04-03 15:00:04 +05:30
models Convert specs to RSpec 2.99.2 syntax with Transpec 2015-04-25 11:18:35 -04:00
phantom_js Rename "User Expansion" to the much clearer "User Card" 2014-10-20 12:11:59 -04:00
serializers Update rspec syntax to v3 2015-01-05 11:59:30 -03:00
services Convert specs to RSpec 2.99.2 syntax with Transpec 2015-04-25 11:18:35 -04:00
support Convert specs to RSpec 2.99.2 syntax with Transpec 2015-04-25 11:18:35 -04:00
views/omniauth_callbacks Update rspec syntax to v3 2015-01-05 11:59:30 -03:00
spec_helper.rb Allow ReadOnly to propogate up to the Ember app via Response Header 2015-04-24 14:37:16 -04:00