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 @@ def test_generator_if_skip_action_cable_is_given
|
||||
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 @@ def test_generator_if_skip_action_cable_is_given
|
||||
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
Block a user