Skip to content

Commit

Permalink
Fix failing test due to using the empty group profile.
Browse files Browse the repository at this point in the history
  • Loading branch information
Odaeus committed Mar 3, 2012
1 parent a31ae6c commit b4573ac
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion spec/requests/groups/issues_spec.rb
Expand Up @@ -4,7 +4,10 @@
include_context "signed in as a group member"
include_context "with current group subdomain"

let!(:group_profile) { FactoryGirl.create(:big_group_profile, group: current_group) }
before do
# Groups create empty profiles automatically, so just update the existing one
current_group.profile.update_attributes(FactoryGirl.attributes_for(:big_group_profile))
end

context "index" do
let(:location_inside_group) { "POINT (10 10)" }
Expand Down

0 comments on commit b4573ac

Please sign in to comment.