Skip to content

Commit

Permalink
Refactoring.
Browse files Browse the repository at this point in the history
  • Loading branch information
yasuhito committed Mar 19, 2015
1 parent 9f091b7 commit 63cf334
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions rspec.rake
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
require 'rspec/core/rake_task'

RSpec::Core::RakeTask.new
begin
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new
rescue LoadError
task :spec do
$stderr.puts 'RSpec is disabled'
end
end

0 comments on commit 63cf334

Please sign in to comment.