README.md in stimulus_reflex_testing-0.1.0 vs README.md in stimulus_reflex_testing-0.2.0

- old
+ new

@@ -16,19 +16,19 @@ ## Installation Add this line to your application's Gemfile: ```ruby -gem 'stimulus_reflex_testing' +gem 'stimulus_reflex_testing', require: false ``` ### Using 5.2 or below? Or using a version of RSpec Rails lower than 4? Both Rails 6 and RSpec Rails 4 introduce the `action-cable-testing` library. If you're using Rails 5.2 and a version of RSpec Rails lower than 4, include the `action-cable-testing` gem in your Gemfile. ```ruby -gem 'stimulus_reflex_testing' +gem 'stimulus_reflex_testing', require: false gem 'action-cable-testing' ``` And then execute: @@ -108,9 +108,11 @@ @post.validate end end # spec/reflexes/post_reflex_spec.rb +require 'rails_helper' + RSpec.describe PostReflex, type: :reflex do let(:post) { create(:post) } let(:reflex) { build_reflex(url: edit_post_url(post)) } describe '#validate' do