Skip to content

Commit

Permalink
enable bug
Browse files Browse the repository at this point in the history
  • Loading branch information
SepsiLaszlo committed May 22, 2022
1 parent a3b99eb commit 3f43443
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/rails_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
end

config.after(:suite) do
Post.delete_all
# Post.delete_all
PostType.delete_all
Group.delete_all
User.delete_all
Expand Down
2 changes: 1 addition & 1 deletion spec/requests/post_type_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
let(:group) { create(:group) }
let(:user) { group.leader.user }
before(:each) { login_as(user) }
before(:each) { PostType.destroy(PostType::FINANCIAL_OFFICER_POST_ID) }
# before(:each) { PostType.destroy(PostType::FINANCIAL_OFFICER_POST_ID) }

it 'redirects back' do
post "/groups/#{group.id}/post_types", params: {
Expand Down

0 comments on commit 3f43443

Please sign in to comment.