-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved acceptance tests into their own folder so they don't interfere …
…with specs.
- Loading branch information
1 parent
76a7588
commit 282bb62
Showing
9 changed files
with
15 additions
and
1 deletion.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
spec/acceptance/acceptance_helper.rb → acceptance/acceptance_helper.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
namespace :spec do | ||
desc 'Run the acceptance specs in acceptance' | ||
RSpec::Core::RakeTask.new(:acceptance) do |t| | ||
t.pattern = 'acceptance/**/*_spec.rb' | ||
end | ||
|
||
task :statsetup do | ||
if File.exist?('acceptance') | ||
require 'rails/code_statistics' | ||
::STATS_DIRECTORIES << ['Acceptance specs', 'acceptance'] | ||
::CodeStatistics::TEST_TYPES << 'Acceptance specs' | ||
end | ||
end | ||
end |