forked from instructure/canvas-lms
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
spec: get acts_as_list tests running again
test plan: check jenkins output confirm it runs now Change-Id: I25c9e677ae754e1cfcb9562aef6585ff6e40b0b7 Reviewed-on: https://gerrit.instructure.com/107796 Tested-by: Jenkins Reviewed-by: Landon Wilkins <[email protected]> Product-Review: Landon Wilkins <[email protected]> QA-Review: Landon Wilkins <[email protected]>
- Loading branch information
Showing
4 changed files
with
21 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
require 'active_record/acts/list' | ||
ActiveRecord::Base.class_eval { include ActiveRecord::Acts::List } | ||
require_relative "active_record/acts/list" | ||
ActiveRecord::Base.class_eval { include ActiveRecord::Acts::List } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
bundle check || bundle install | ||
ruby test/list_test.rb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters