Commit ace728b1 authored by Justin Ho's avatar Justin Ho

Update let statement to be inside shared context

parent 2825932b
...@@ -3,8 +3,9 @@ ...@@ -3,8 +3,9 @@
require 'spec_helper' require 'spec_helper'
describe 'User activates Flowdock' do describe 'User activates Flowdock' do
include_context 'project service activation' include_context 'project service activation' do
let(:project) { create(:project, :repository) } let(:project) { create(:project, :repository) }
end
before do before do
stub_request(:post, /.*api.flowdock.com.*/) stub_request(:post, /.*api.flowdock.com.*/)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment