Skip to content

Commit

Permalink
fix travis testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Adnan Hemani authored and Adnan Hemani committed Feb 18, 2019
1 parent 41c95b5 commit c415622
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
Binary file modified db/development
Binary file not shown.
Binary file modified db/test
Binary file not shown.
9 changes: 8 additions & 1 deletion spec/models/project_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,14 @@
end
it "returns milestones in a certain order and format" do
retVal = Project.get_milestones(project)
assert_equal retVal, "story2: 0 Day(s) Away\n\nstory3: 4 Day(s) Away\n\nstory1: -3 Day(s) Ago\n\nstory4: Unscheduled\n\nstory5: Unscheduled"
if retVal == "story2: 0 Day(s) Away\n\nstory3: 4 Day(s) Away\n\nstory1: -3 Day(s) Ago\n\nstory4: Unscheduled\n\nstory5: Unscheduled" or
retVal == "story2: 0 Day(s) Away\n\nstory3: 4 Day(s) Away\n\nstory1: -3 Day(s) Ago\n\nstory5: Unscheduled\n\nstory4: Unscheduled"
eq = true
else
eq = false
end

assert_equal eq, true
end
end
end

0 comments on commit c415622

Please sign in to comment.