Commit 535339a6ab756b0bfb1164afb764acef6e1f46af
1 parent
d4bfacc3
Exists in
spb-stable
and in
3 other branches
Fix tests
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing
2 changed files
with
1 additions
and
13 deletions
Show diff stats
spec/requests/api/issues_spec.rb
... | ... | @@ -100,16 +100,4 @@ describe API::API do |
100 | 100 | response.status.should == 405 |
101 | 101 | end |
102 | 102 | end |
103 | - | |
104 | - describe "PUT /projects/:id/issues/:issue_id to test observer on close" do | |
105 | - before { enable_observers } | |
106 | - after { disable_observers } | |
107 | - | |
108 | - it "should create an activity event when an issue is closed" do | |
109 | - Event.should_receive(:create) | |
110 | - | |
111 | - put api("/projects/#{project.id}/issues/#{issue.id}", user), | |
112 | - state_event: "close" | |
113 | - end | |
114 | - end | |
115 | 103 | end | ... | ... |