discourse/spec/controllers
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
..
admin Convert specs to RSpec 2.99.2 syntax with Transpec 2015-04-25 11:18:35 -04:00
application_controller_spec.rb Allow ReadOnly to propogate up to the Ember app via Response Header 2015-04-24 14:37:16 -04:00
badges_controller_spec.rb controllers with rspec3 syntax 2015-01-09 14:04:02 -03:00
categories_controller_spec.rb FIX: handle error for duplicate email_in address 2015-04-16 16:23:22 +05:30
clicks_controller_spec.rb FIX: clicks counter on attachments wasn't always working 2015-02-22 20:47:18 +01:00
composer_messages_controller_spec.rb controllers with rspec3 syntax 2015-01-09 14:04:02 -03:00
directory_items_controller_spec.rb Convert specs to RSpec 2.99.2 syntax with Transpec 2015-04-25 11:18:35 -04:00
draft_controller_spec.rb controllers with rspec3 syntax 2015-01-09 14:04:02 -03:00
email_controller_spec.rb Migrate unsubscribe keys to the database. 2015-02-13 14:24:15 -05:00
embed_controller_spec.rb controllers with rspec3 syntax 2015-01-09 14:04:02 -03:00
export_csv_controller_spec.rb 💄 add username and date-time in exported file name 2015-01-16 01:39:46 +05:30
groups_controller_spec.rb Convert specs to RSpec 2.99.2 syntax with Transpec 2015-04-25 11:18:35 -04:00
invites_controller_spec.rb controllers with rspec3 syntax 2015-01-09 14:04:02 -03:00
list_controller_spec.rb FIX: Don't show the filter title on the default route 2015-03-30 11:40:44 -04:00
notifications_controller_spec.rb controllers with rspec3 syntax 2015-01-09 14:04:02 -03:00
omniauth_callbacks_controller_spec.rb Fixed all broken specs 2013-08-26 12:59:17 +10:00
onebox_controller_spec.rb controllers with rspec3 syntax 2015-01-09 14:04:02 -03:00
permalinks_controller_spec.rb controllers with rspec3 syntax 2015-01-09 14:04:02 -03:00
post_actions_controller_spec.rb controllers with rspec3 syntax 2015-01-09 14:04:02 -03:00
posts_controller_spec.rb Convert specs to RSpec 2.99.2 syntax with Transpec 2015-04-25 11:18:35 -04:00
queued_posts_controller_spec.rb Interface is wired up for Approving/Rejecting posts 2015-04-15 14:54:37 -04:00
robots_txt_controller_spec.rb controllers with rspec3 syntax 2015-01-09 14:04:02 -03:00
search_controller_spec.rb controllers with rspec3 syntax 2015-01-09 14:04:02 -03:00
session_controller_spec.rb fix spec 2015-03-27 13:14:50 +11:00
site_customizations_controller_spec.rb controllers with rspec3 syntax 2015-01-09 14:04:02 -03:00
static_controller_spec.rb controllers with rspec3 syntax 2015-01-09 14:04:02 -03:00
topics_controller_spec.rb Convert specs to RSpec 2.99.2 syntax with Transpec 2015-04-25 11:18:35 -04:00
uploads_controller_spec.rb controllers with rspec3 syntax 2015-01-09 14:04:02 -03:00
user_actions_controller_spec.rb Users can see their pending posts 2015-04-21 16:44:47 -04:00
user_badges_controller_spec.rb FEATURE: Allow manual assignment of related post to badge 2015-02-25 12:53:01 +11:00
users_controller_spec.rb Convert specs to RSpec 2.99.2 syntax with Transpec 2015-04-25 11:18:35 -04:00