Skip to content

Commit 3f91066

Browse files
committed
Fix up warnings
1 parent a50e817 commit 3f91066

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

test_rails/generators/flipper/update_generator_test.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class UpdateGeneratorTest < Rails::Generators::TestCase
6565

6666
assert_migration "db/migrate/create_flipper_tables.rb" do |migration|
6767
assert_method :up, migration do |up|
68-
assert_match /text :value/, up
68+
assert_match(/text :value/, up)
6969
end
7070
end
7171

test_rails/helper.rb

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
require 'rails'
55
require 'rails/test_help'
66

7+
require 'warning'
8+
Warning.ignore(/lib\/capybara\//)
9+
710
begin
811
ActiveSupport::TestCase.test_order = :random
912
rescue NoMethodError

0 commit comments

Comments
 (0)