Permalink
Browse files

Only run acceptance specs intentionally

  • Loading branch information...
1 parent 588e1c4 commit 714d373fad3df6186daa821845a6af4129ff6969 @mattyoho mattyoho committed Apr 3, 2012
Showing with 12 additions and 1 deletion.
  1. +1 −0 .rspec
  2. +10 −0 Rakefile
  3. +1 −1 spec/acceptance/public_user_views_products_spec.rb
View
1 .rspec
@@ -1 +1,2 @@
--colour
+--tag ~acceptance
View
@@ -5,3 +5,13 @@
require File.expand_path('../config/application', __FILE__)
StoreEngine::Application.load_tasks
+
+begin
+ require 'rspec/core/rake_task'
+
+ task :default => :spec
+
+ RSpec::Core::RakeTask.new("spec:acceptance") do |t|
+ t.rspec_opts = "--tag acceptance"
+ end
+end
@@ -1,6 +1,6 @@
require 'spec_helper'
-feature "Public User Views Products" do
+feature "Public User Views Products", :acceptance => true do
let!(:product){ create_product }
context "the root page" do

0 comments on commit 714d373

Please sign in to comment.