Skip to content
Browse files

fixing features task

  • Loading branch information...
1 parent e832ec6 commit 1e3b7955f593dc7f8320a68b3cb3dd9aae3f63d2 @saturnflyer committed
Showing with 4 additions and 2 deletions.
  1. +1 −1 Rakefile
  2. +3 −1 features/support/paths.rb
View
2 Rakefile
@@ -41,7 +41,7 @@ Spec::Rake::SpecTask.new(:spec) do |t|
t.spec_files = FileList['spec/**/*_spec.rb']
end
-task :features => ':spec:integration'
+task :features => 'spec:integration'
namespace :spec do
desc "Run all specs in spec directory with RCov"
View
4 features/support/paths.rb
@@ -6,8 +6,10 @@ def path_to(page_name)
when /login/i
login_path
+
+ when /comments/i
+ admin_comments_path
# Add more page name => path mappings here
-
else
raise "Can't find mapping from \"#{page_name}\" to a path."
end

0 comments on commit 1e3b795

Please sign in to comment.
Something went wrong with that request. Please try again.