Skip to content

Commit

Permalink
Remove whitespace, minor cleanup. [fulcrum-agile#204]
Browse files Browse the repository at this point in the history
  • Loading branch information
marnen committed Feb 28, 2014
1 parent a0cc566 commit 3f019c1
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions spec/features/stories_spec.rb
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
require 'spec_helper'

describe "Stories" do

before(:each) do
sign_in user
end

let(:user) {
FactoryGirl.create :user, :email => 'user@example.com',
:password => 'password'
Expand All @@ -16,6 +11,10 @@
:users => [user]
end

before(:each) do
sign_in user
end

describe "full story life cycle" do
it "steps through the full story life cycle", js: true do
visit project_path(project)
Expand All @@ -40,9 +39,7 @@
end

find('#in_progress .story.accepted .story-title').should have_content('New story')

end

end

describe 'expanded story tile', js: true do
Expand Down Expand Up @@ -70,7 +67,6 @@
end

describe "delete a story" do

let(:story) {
FactoryGirl.create(:story, :title => 'Delete Me', :project => project,
:requested_by => user)
Expand Down Expand Up @@ -99,7 +95,6 @@
end

it "hides and shows the columns", :js => true do

visit project_path(project)

columns = {
Expand Down Expand Up @@ -130,13 +125,11 @@
click_link 'Close'
end
page.should_not have_css(selector)

end
end
end

def story_selector(story)
"#story-#{story.id}"
end

end

0 comments on commit 3f019c1

Please sign in to comment.