Additional cleanup on admin_steps

This commit is contained in:
Jacques Crocker 2010-08-01 03:40:06 -07:00
parent fd6a13858c
commit fe9eae7ea5
1 changed files with 0 additions and 14 deletions

View File

@ -1,11 +1,3 @@
Before('@site_up') do
create_layout_samples
end
Before('@another_site_up') do
add_new_site
end
### Authentication
Given /^I am not authenticated$/ do
@ -46,12 +38,6 @@ end
### Common
def add_new_site
@another_site = Factory.build(:site, :name => 'Locomotive test website #2', :subdomain => 'test2')
@another_site.memberships.build :account => @admin, :admin => true
@another_site.save
end
def create_layout_samples
Factory(:layout, :site => @site, :name => 'One column', :value => %{<html>
<head>