Fix app generator tests
Change assert to not match with kredis gem.
This commit is contained in:
parent
c839fdb4d7
commit
8014bdd556
|
@ -65,7 +65,7 @@ class ApiAppGeneratorTest < Rails::Generators::TestCase
|
|||
assert_no_file "config/cable.yml"
|
||||
assert_no_file "app/channels"
|
||||
assert_file "Gemfile" do |content|
|
||||
assert_no_match(/redis/, content)
|
||||
assert_no_match(/"redis"/, content)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -288,7 +288,7 @@ module SharedGeneratorTests
|
|||
assert_no_directory "#{application_path}/app/javascript/channels"
|
||||
assert_no_directory "#{application_path}/app/channels"
|
||||
assert_file "Gemfile" do |content|
|
||||
assert_no_match(/redis/, content)
|
||||
assert_no_match(/"redis"/, content)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue