Skip to content

Commit

Permalink
Fix failing spec.
Browse files Browse the repository at this point in the history
  • Loading branch information
skyriverbend committed Dec 11, 2012
1 parent de4c983 commit 5d4734b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions features/step_definitions/view_group_discussions_steps.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,9 @@
end

Given /^a public sub\-group exists$/ do
@parent_group = FactoryGirl.create :group
@sub_group = FactoryGirl.create :group, :parent => @parent_group
@sub_group.viewable_by = :everyone
@sub_group.save
@parent_group = FactoryGirl.create :group, :viewable_by => :everyone
@sub_group = FactoryGirl.create :group, :parent => @parent_group,
:viewable_by => :everyone
end

Given /^a private sub\-group exists$/ do
Expand Down

0 comments on commit 5d4734b

Please sign in to comment.