Skip to content
This repository has been archived by the owner on Nov 16, 2017. It is now read-only.

Commit

Permalink
updated rspec code
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasmazza committed Oct 18, 2010
1 parent b71be41 commit 2176267
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions lib/showtime/templates/Rakefile
@@ -1,8 +1,8 @@
require 'spec/rake/spectask'
require 'rspec/core/rake_task'

desc "Run all specs"
Spec::Rake::SpecTask.new do |t|
t.spec_opts = %w(--format specdoc --color)
RSpec::Core::RakeTask.new do |task|
task.rspec_opts = ["-c"]
end

task :default => :spec
Expand Down
4 changes: 2 additions & 2 deletions lib/showtime/templates/spec/spec_helper.rb
@@ -1,9 +1,9 @@
require File.join(File.dirname(__FILE__), '..', 'application.rb')

require 'spec'
require 'rspec'
require 'rack/test'

Spec::Runner.configure do |config|
RSpec.configure do |config|
config.include Rack::Test::Methods
end

Expand Down

0 comments on commit 2176267

Please sign in to comment.