Constants in Events looks good now
This commit is contained in:
parent
b9f8b40190
commit
839957cf56
13 changed files with 43 additions and 43 deletions
|
@ -52,7 +52,7 @@ describe Event do
|
|||
|
||||
@event = Event.create(
|
||||
project: project,
|
||||
action: Event::Pushed,
|
||||
action: Event::PUSHED,
|
||||
data: data,
|
||||
author_id: @user.id
|
||||
)
|
||||
|
|
|
@ -19,7 +19,7 @@ describe Project, "Hooks" do
|
|||
|
||||
event.should_not be_nil
|
||||
event.project.should == project
|
||||
event.action.should == Event::Pushed
|
||||
event.action.should == Event::PUSHED
|
||||
event.data.should == data
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue