Constants in Events looks good now
This commit is contained in:
parent
b9f8b40190
commit
839957cf56
13 changed files with 43 additions and 43 deletions
|
@ -17,7 +17,7 @@ describe ActivityObserver do
|
|||
end
|
||||
|
||||
it_should_be_valid_event
|
||||
it { @event.action.should == Event::Created }
|
||||
it { @event.action.should == Event::CREATED }
|
||||
it { @event.target.should == @merge_request }
|
||||
end
|
||||
|
||||
|
@ -30,7 +30,7 @@ describe ActivityObserver do
|
|||
end
|
||||
|
||||
it_should_be_valid_event
|
||||
it { @event.action.should == Event::Created }
|
||||
it { @event.action.should == Event::CREATED }
|
||||
it { @event.target.should == @issue }
|
||||
end
|
||||
|
||||
|
@ -44,7 +44,7 @@ describe ActivityObserver do
|
|||
end
|
||||
|
||||
it_should_be_valid_event
|
||||
it { @event.action.should == Event::Commented }
|
||||
it { @event.action.should == Event::COMMENTED }
|
||||
it { @event.target.should == @note }
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue