discourse/spec/models
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_dashboard_data_spec.rb S3 deprecation warning 2015-03-25 18:34:07 +01:00
api_key_spec.rb
application_request_spec.rb Convert specs to RSpec 2.99.2 syntax with Transpec 2015-04-25 11:18:35 -04:00
backup_spec.rb
badge_spec.rb
badge_type.rb
category_featured_topic_spec.rb REGRESSION: incorrect ordering when featuring topics 2015-02-25 14:24:25 +11:00
category_featured_user_spec.rb
category_spec.rb Convert specs to RSpec 2.99.2 syntax with Transpec 2015-04-25 11:18:35 -04:00
category_user_spec.rb Convert specs to RSpec 2.99.2 syntax with Transpec 2015-04-25 11:18:35 -04:00
color_scheme_color_spec.rb
color_scheme_spec.rb
digest_email_site_setting_spec.rb
digest_unsubscribe_key_spec.rb Migrate unsubscribe keys to the database. 2015-02-13 14:24:15 -05:00
directory_item_spec.rb FIX: youtube preview video title link doesn't work 2015-04-01 18:23:27 +02:00
discourse_single_sign_on_spec.rb FIX: stop stripping dots from SSO names 2015-03-27 10:25:51 +11:00
draft_sequence_spec.rb
draft_spec.rb
email_log_spec.rb
email_token_spec.rb
global_setting_spec.rb FIX: discourse.conf not parsing out comments correctly 2015-03-09 13:14:29 +11:00
group_spec.rb Convert specs to RSpec 2.99.2 syntax with Transpec 2015-04-25 11:18:35 -04:00
incoming_link_spec.rb
incoming_links_report_spec.rb
invite_redeemer_spec.rb
invite_spec.rb FIX: do not delete already redeemed invite 2015-03-25 23:30:09 +05:30
locale_site_setting_spec.rb
notification_spec.rb don't put missing notifications in the stream for tests. 2015-02-19 13:20:25 +11:00
optimized_image_spec.rb fix the build 2015-02-09 17:13:22 +01:00
permalink_spec.rb
plugin_store_spec.rb
post_action_spec.rb Convert specs to RSpec 2.99.2 syntax with Transpec 2015-04-25 11:18:35 -04:00
post_alert_observer_spec.rb
post_analyzer_spec.rb
post_detail_spec.rb
post_mover_spec.rb
post_reply_spec.rb
post_spec.rb
post_timing_spec.rb PREF: speed up grabbing unread counts 2015-04-17 16:01:20 +10:00
post_upload_spec.rb
queued_post_spec.rb FIX: When approving/rejecting a post it should delete the user action 2015-04-24 15:25:47 -04:00
quoted_post_spec.rb
report_spec.rb FIX: Sort page views report records 2015-04-12 10:46:13 -07:00
rtl_spec.rb
s3_region_site_setting_spec.rb
screened_email_spec.rb
screened_ip_address_spec.rb UX: improve message when admin login is blocked because of admin ip address whitelisting 2015-03-02 12:13:22 -05:00
screened_url_spec.rb
search_observer_spec.rb models with rspec3 syntax 2015-01-05 13:04:23 -03:00
site_customization_spec.rb
site_setting_spec.rb FEATURE: new site setting min_first_post_length 2015-03-20 00:20:38 +05:30
site_spec.rb
site_text_spec.rb
top_menu_item_spec.rb
top_topic_spec.rb Convert specs to RSpec 2.99.2 syntax with Transpec 2015-04-25 11:18:35 -04:00
topic_allowed_user_spec.rb
topic_embed_spec.rb
topic_featured_users_spec.rb
topic_invite_spec.rb
topic_link_click_spec.rb FIX: only redirect to whitelisted hostnames 2015-04-01 22:59:25 +02:00
topic_link_spec.rb
topic_participants_summary_spec.rb
topic_posters_summary_spec.rb
topic_spec.rb Don't blow up if Redis switches to READONLY 2015-04-24 14:37:16 -04:00
topic_status_update_spec.rb
topic_tracking_state_spec.rb FIX: admin check missing from topic tracking state 2015-04-17 14:03:08 +10:00
topic_user_spec.rb Convert specs to RSpec 2.99.2 syntax with Transpec 2015-04-25 11:18:35 -04:00
topic_view_item_spec.rb
trust_level3_requirements_spec.rb
twitter_user_info_spec.rb
upload_spec.rb
user_action_spec.rb
user_avatar_spec.rb
user_badge.rb Convert specs to RSpec 2.99.2 syntax with Transpec 2015-04-25 11:18:35 -04:00
user_email_observer_spec.rb FEATURE: invite existing user to a topic 2015-04-03 15:00:04 +05:30
user_history_spec.rb
user_open_id_spec.rb
user_profile_spec.rb
user_search_spec.rb Update rspec syntax to v3 2015-01-05 11:59:30 -03:00
user_spec.rb FIX: If you delete a user, delete their queued posts as well. 2015-04-24 16:04:44 -04:00
user_stat_spec.rb
user_visit_spec.rb
username_validator_spec.rb