Commit 0a019944 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix public project tests

parent 573d367b
...@@ -11,7 +11,6 @@ class Spinach::Features::PublicProjectsFeature < Spinach::FeatureSteps ...@@ -11,7 +11,6 @@ class Spinach::Features::PublicProjectsFeature < Spinach::FeatureSteps
step 'I should see project "Empty Public Project"' do step 'I should see project "Empty Public Project"' do
page.should have_content "Empty Public Project" page.should have_content "Empty Public Project"
puts page.save_page('foo.html')
end end
step 'I should see public project details' do step 'I should see public project details' do
...@@ -24,7 +23,7 @@ class Spinach::Features::PublicProjectsFeature < Spinach::FeatureSteps ...@@ -24,7 +23,7 @@ class Spinach::Features::PublicProjectsFeature < Spinach::FeatureSteps
end end
step 'public project "Community"' do step 'public project "Community"' do
create :project_with_code, name: 'Community', public: true create :project_with_code, name: 'Community', public: true, default_branch: 'master'
end end
step 'public empty project "Empty Public Project"' do step 'public empty project "Empty Public Project"' do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment