Skip to content

Commit

Permalink
Merge pull request #1414 from spreemo/dankohn-symbol-namespace-1412
Browse files Browse the repository at this point in the history
Namespace check shouldn't fail on symbols; fixes #1412
  • Loading branch information
JonRowe committed Jul 6, 2015
2 parents 1fb6f9f + 40350d8 commit be695b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rspec-rails.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class Railtie < ::Rails::Railtie
generators.test_framework :rspec

generators do
::Rails::Generators.hidden_namespaces.reject! { |namespace| namespace.start_with?("rspec") }
::Rails::Generators.hidden_namespaces.reject! { |namespace| namespace.to_s.start_with?("rspec") }
end

rake_tasks do
Expand Down

0 comments on commit be695b0

Please sign in to comment.