Skip to content

Commit

Permalink
Allow running specs using rspec on the cli
Browse files Browse the repository at this point in the history
  • Loading branch information
bdunne committed May 12, 2017
1 parent 7eb0cb4 commit fc011f5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .rspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
--require spec_helper
--color
--order random
--exclude-pattern "spec/manageiq/**/*_spec.rb"
1 change: 1 addition & 0 deletions .rspec_ci
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
--require spec_helper
--color
--order random
--exclude-pattern "spec/manageiq/**/*_spec.rb"
--profile 25
1 change: 0 additions & 1 deletion lib/tasks_private/spec.rake
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,4 @@ desc "Run all specs"
RSpec::Core::RakeTask.new(:spec => ["app:test:initialize", "app:evm:compile_sti_loader"]) do |t|
spec_dir = File.expand_path("../../spec", __dir__)
EvmTestHelper.init_rspec_task(t, ['--require', File.join(spec_dir, 'spec_helper')])
t.pattern = FileList[spec_dir + '/**/*_spec.rb'].exclude(spec_dir + '/manageiq/**/*_spec.rb')
end

0 comments on commit fc011f5

Please sign in to comment.