Merge pull request #635 from bgeuken/refactor_calculate_progress

Refactor calculate progress
This commit is contained in:
Henne Vogelsang 2015-04-20 17:21:15 +02:00
commit 6cc8c1e5c2
2 changed files with 5 additions and 5 deletions

View file

@ -994,7 +994,7 @@ describe Conference do
subject.splashpage = create(:splashpage, public: false)
@result_false['registration'] = true
@result_false['process'] = 13.to_s
@result_false['process'] = 12.to_s
expect(subject.get_status).to eq(@result_false)
end
@ -1033,7 +1033,7 @@ describe Conference do
@result_false['cfp'] = true
@result_false['registration'] = true
@result_false['venue'] = true
@result_false['process'] = 38.to_s
@result_false['process'] = 37.to_s
expect(subject.get_status).to eq(@result_false)
end
@ -1076,7 +1076,7 @@ describe Conference do
@result_false['venue'] = true
@result_false['rooms'] = true
@result_false['tracks'] = true
@result_false['process'] = 63.to_s
@result_false['process'] = 62.to_s
expect(subject.get_status).to eq(@result_false)
end