discourse/spec/components
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
..
auth few components with rspec3 syntax 2015-01-09 13:34:37 -03:00
common_passwords few components with rspec3 syntax 2015-01-09 13:34:37 -03:00
concern - FEATURE: revamped poll plugin 2015-04-23 19:33:29 +02:00
email FIX: add email reply error message for topic not getting created in restricted category 2015-04-10 17:11:52 +05:30
file_store few components with rspec3 syntax 2015-01-09 13:34:37 -03:00
freedom_patches few components with rspec3 syntax 2015-01-09 13:34:37 -03:00
highlight_js Convert specs to RSpec 2.99.2 syntax with Transpec 2015-04-25 11:18:35 -04:00
import few components with rspec3 syntax 2015-01-09 13:34:37 -03:00
middleware Convert specs to RSpec 2.99.2 syntax with Transpec 2015-04-25 11:18:35 -04:00
onebox/engine few components with rspec3 syntax 2015-01-09 13:34:37 -03:00
plugin Support a url field in plugin metadata 2015-02-06 18:08:57 -05:00
scheduler PERF: allow background jobs to flush between requests in same thread 2015-02-17 09:58:43 +11:00
sidekiq few components with rspec3 syntax 2015-01-09 13:34:37 -03:00
site_settings few components with rspec3 syntax 2015-01-09 13:34:37 -03:00
validators FEATURE: make full names a required field of user profiles with the full_name_required setting 2015-04-02 17:08:04 -04:00
admin_user_index_query_spec.rb FIX: moderators should be able to search users by email 2014-10-29 22:08:41 +01:00
archetype_spec.rb few components with rspec3 syntax 2015-01-09 13:34:37 -03:00
avatar_lookup_spec.rb few components with rspec3 syntax 2015-01-09 13:34:37 -03:00
avatar_upload_service_spec.rb few components with rspec3 syntax 2015-01-09 13:34:37 -03:00
cache_spec.rb FIX: emoji cache could get corrupt 2015-02-19 16:58:22 +11:00
category_list_spec.rb few components with rspec3 syntax 2015-01-09 13:34:37 -03:00
composer_messages_finder_spec.rb few components with rspec3 syntax 2015-01-09 13:34:37 -03:00
content_buffer_spec.rb few components with rspec3 syntax 2015-01-09 13:34:37 -03:00
cooked_post_processor_spec.rb - FEATURE: revamped poll plugin 2015-04-23 19:33:29 +02:00
crawler_detection_spec.rb few components with rspec3 syntax 2015-01-09 13:34:37 -03:00
current_user_spec.rb few components with rspec3 syntax 2015-01-09 13:34:37 -03:00
directory_helper_spec.rb few components with rspec3 syntax 2015-01-09 13:34:37 -03:00
discourse_diff_spec.rb few components with rspec3 syntax 2015-01-09 13:34:37 -03:00
discourse_event_spec.rb few components with rspec3 syntax 2015-01-09 13:34:37 -03:00
discourse_hub_spec.rb few components with rspec3 syntax 2015-01-09 13:34:37 -03:00
discourse_plugin_registry_spec.rb few components with rspec3 syntax 2015-01-09 13:34:37 -03:00
discourse_plugin_spec.rb FIX: Clean up after adding events. Fixes random test failures. 2015-02-04 17:33:18 -05:00
discourse_sass_compiler_spec.rb few components with rspec3 syntax 2015-01-09 13:34:37 -03:00
discourse_spec.rb Allow ReadOnly to propogate up to the Ember app via Response Header 2015-04-24 14:37:16 -04:00
discourse_stylesheets_spec.rb few components with rspec3 syntax 2015-01-09 13:34:37 -03:00
discourse_updates_spec.rb few components with rspec3 syntax 2015-01-09 13:34:37 -03:00
distributed_cache_spec.rb few components with rspec3 syntax 2015-01-09 13:34:37 -03:00
distributed_memoizer_spec.rb few components with rspec3 syntax 2015-01-09 13:34:37 -03:00
distributed_mutex_spec.rb few components with rspec3 syntax 2015-01-09 13:34:37 -03:00
enum_spec.rb few components with rspec3 syntax 2015-01-09 13:34:37 -03:00
filter_best_posts_spec.rb few components with rspec3 syntax 2015-01-09 13:34:37 -03:00
flag_query_spec.rb few components with rspec3 syntax 2015-01-09 13:34:37 -03:00
gaps_spec.rb few components with rspec3 syntax 2015-01-09 13:34:37 -03:00
guardian_spec.rb Convert specs to RSpec 2.99.2 syntax with Transpec 2015-04-25 11:18:35 -04:00
has_errors_spec.rb PostEnqueuer object to handle validation of enqueued posts 2015-04-15 14:54:36 -04:00
image_sizer_spec.rb few components with rspec3 syntax 2015-01-09 13:34:37 -03:00
js_locale_helper_spec.rb few components with rspec3 syntax 2015-01-09 13:34:37 -03:00
json_error_spec.rb few components with rspec3 syntax 2015-01-09 13:34:37 -03:00
letter_avatar_spec.rb Convert specs to RSpec 2.99.2 syntax with Transpec 2015-04-25 11:18:35 -04:00
new_post_manager_spec.rb Show pending posts count in modal when your posts are enqueued 2015-04-24 15:44:59 -04:00
new_post_result_spec.rb NewPostManager determines whether to queue a post or not 2015-04-15 14:54:36 -04:00
oneboxer_spec.rb few components with rspec3 syntax 2015-01-09 13:34:37 -03:00
onpdiff_spec.rb few components with rspec3 syntax 2015-01-09 13:34:37 -03:00
pbkdf2_spec.rb few components with rspec3 syntax 2015-01-09 13:34:37 -03:00
pinned_check_spec.rb few components with rspec3 syntax 2015-01-09 13:34:37 -03:00
post_creator_spec.rb Don't blow up if Redis switches to READONLY 2015-04-24 14:37:16 -04:00
post_destroyer_spec.rb FEATURE: reorder participants in topic so always chronological 2015-04-06 17:27:05 +10:00
post_enqueuer_spec.rb FIX: When approving/rejecting a post it should delete the user action 2015-04-24 15:25:47 -04:00
post_revisor_spec.rb Convert specs to RSpec 2.99.2 syntax with Transpec 2015-04-25 11:18:35 -04:00
pretty_text_spec.rb Add blank alt attribute to avatars. 2015-04-14 14:39:40 +01:00
promotion_spec.rb Promotion fails if the user account isn't old enough yet. 2015-04-14 12:14:59 -04:00
rate_limiter_spec.rb few components with rspec3 syntax 2015-01-09 13:34:37 -03:00
redis_store_spec.rb few components with rspec3 syntax 2015-01-09 13:34:37 -03:00
s3_helper_spec.rb few components with rspec3 syntax 2015-01-09 13:34:37 -03:00
score_calculator_spec.rb few components with rspec3 syntax 2015-01-09 13:34:37 -03:00
search_spec.rb Convert specs to RSpec 2.99.2 syntax with Transpec 2015-04-25 11:18:35 -04:00
site_setting_extension_spec.rb Convert specs to RSpec 2.99.2 syntax with Transpec 2015-04-25 11:18:35 -04:00
slug_spec.rb few components with rspec3 syntax 2015-01-09 13:34:37 -03:00
spam_handler_spec.rb few components with rspec3 syntax 2015-01-09 13:34:37 -03:00
sql_builder_spec.rb few components with rspec3 syntax 2015-01-09 13:34:37 -03:00
suggested_topics_builder_spec.rb few components with rspec3 syntax 2015-01-09 13:34:37 -03:00
system_message_spec.rb few components with rspec3 syntax 2015-01-09 13:34:37 -03:00
text_cleaner_spec.rb FIX: stop stripping zero-width-whitespace 2015-03-27 13:03:24 +11:00
text_sentinel_spec.rb few components with rspec3 syntax 2015-01-09 13:34:37 -03:00
topic_creator_spec.rb few components with rspec3 syntax 2015-01-09 13:34:37 -03:00
topic_query_spec.rb FIX: User's topic lists weren't consistent WRT visibility 2015-03-23 18:13:06 -04:00
topic_retriever_spec.rb Add custom embed_by_username feature 2014-06-09 12:35:38 -07:00
topic_view_spec.rb Promotion fails if the user account isn't old enough yet. 2015-04-14 12:14:59 -04:00
topics_bulk_action_spec.rb few components with rspec3 syntax 2015-01-09 13:34:37 -03:00
trashable_spec.rb few components with rspec3 syntax 2015-01-09 13:34:37 -03:00
unread_spec.rb few components with rspec3 syntax 2015-01-09 13:34:37 -03:00
url_helper_spec.rb few components with rspec3 syntax 2015-01-09 13:34:37 -03:00
user_name_suggester_spec.rb few components with rspec3 syntax 2015-01-09 13:34:37 -03:00