Commit Graph

12834 Commits

Author SHA1 Message Date
Braden Anderson 997f4d4280 xapi: handle requests without durations
Change-Id: I907e2131ad01e4aa9dda377c8aadf3f53eac5017
Reviewed-on: https://gerrit.instructure.com/42864
Reviewed-by: Bracken Mosbacker <bracken@instructure.com>
Product-Review: Bracken Mosbacker <bracken@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: Braden Anderson <braden@instructure.com>
2014-10-16 22:55:47 +00:00
Bracken Mosbacker 99484f3259 refactor xapi to a service class
also made it use a token in the url instead of only
working for assignment launches

Testplan:
 * Install the test lti app http://lti-tool-provider.herokuapp.com/
 * launch it as a student and click the xapi link in the app
 * the page view count for that student should increment in the
   analytics UI
	 (note, that UI is heavily cached, you may need to clear redis
	  to see the latest number)

Change-Id: I4fd1ff8201a2a11c654d789bfcd61e7cf44f3c7f
Reviewed-on: https://gerrit.instructure.com/42818
Reviewed-by: Braden Anderson <braden@instructure.com>
Product-Review: Braden Anderson <braden@instructure.com>
QA-Review: Braden Anderson <braden@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
2014-10-16 22:55:17 +00:00
Cody Cutrer 1513a231f6 include was renamed to embed_in_root
Change-Id: I5216ee83ace6141af6de504cd1aea8d2873c276f
Reviewed-on: https://gerrit.instructure.com/42870
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Braden Anderson <braden@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2014-10-16 22:49:17 +00:00
Cody Cutrer 6e810e629d some i18n fixes for rails 4
Change-Id: I8316a1377f4394b497ae0f95796db8b438b1d3fd
Reviewed-on: https://gerrit.instructure.com/42855
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Jon Jensen <jon@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2014-10-16 22:43:50 +00:00
Cody Cutrer 650820952f spec: slighty de-insanify assignment_model factory
refs CNVS-16239

Change-Id: If6f9cba61a01a1cc60f0b63b581a813a076b9b02
Reviewed-on: https://gerrit.instructure.com/42853
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2014-10-16 22:28:14 +00:00
Ryan Shaw d6e042da8b Updated react-router
react-router wasn't correctly firing the
route handler in IE10, resulting in a blank
page.  This fixes that by updating react-router
to the newest version.  Note that some of the
functionality is currently broken in IE,
such as styles and the FolderTree.  Let's
do a run through of IE now that it's rendering
and make tickets of whatever is left to be fixed.

fixes CNVS-15930

test plan:
* Enable "Better File Browsing" feature flag
* Navigate to any course's Files tab in IE10
* The FilesApp should render and be semi-functional

Change-Id: I52e4ca73ace6ca0dec6b26a76c1a3cfa51e5d128
Reviewed-on: https://gerrit.instructure.com/42453
Reviewed-by: Clay Diffrient <cdiffrient@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
Product-Review: Dan Minkevitch <dan@instructure.com>
QA-Review: Jahnavi Yetukuri <jyetukuri@instructure.com>
2014-10-16 18:04:44 +00:00
Braden Anderson 312e013300 xapi: create page view and asset user access
test plan:
  * play Minecraft
  * look at your user's most recent page view and asset access
  * verify that entries were added for the LTI tool

Change-Id: I422a188ed80cbedbaa8b4ecafcb3262c6f2d1e14
Reviewed-on: https://gerrit.instructure.com/42783
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Brad Humphrey <brad@instructure.com>
Reviewed-by: Bracken Mosbacker <bracken@instructure.com>
Product-Review: Bracken Mosbacker <bracken@instructure.com>
QA-Review: Braden Anderson <braden@instructure.com>
2014-10-16 17:50:40 +00:00
Cody Cutrer e16ff48b23 raise errors on rspec deprecations
refs CNVS-16239

Change-Id: Ica174a75bbc621e77578457ab6ff7627fd4f8cfb
Reviewed-on: https://gerrit.instructure.com/42714
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2014-10-16 16:16:03 +00:00
Cody Cutrer 99c6bb9764 fix some rspec deprecation warnings
refs CNVS-16239

Change-Id: Id706ca284f2f8754a889949a60bca30ace46bd99
Reviewed-on: https://gerrit.instructure.com/42812
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
Product-Review: Braden Anderson <braden@instructure.com>
QA-Review: Braden Anderson <braden@instructure.com>
2014-10-16 16:15:49 +00:00
Cody Cutrer d86e09fee1 rspec 3-ify spec/selenium
refs CNVS-16239

Change-Id: I483dd42326d14a2a2645103600cfa242ca7f1fa8
2014-10-15 19:27:10 -06:00
James Williams 127ce61d87 prevent closing upcoming assignment discussions
test plan:
* create a course with a graded discussion with an
 upcoming due date
* confirm that the gear menu on the index no longer
 has an option to "Close for comments" (that didn't work)
* confirm that dragging the discussion into the
 "Closed for Comments" group does not let you
 drop it in

closes #CNVS-16029

Change-Id: I50c21fc528409c4d5e90344149d751ff25f86389
Reviewed-on: https://gerrit.instructure.com/42720
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: Steven Shepherd <sshepherd@instructure.com>
Product-Review: Matt Fairbourn <mfairbourn@instructure.com>
Product-Review: Janelle Seegmiller <jseegmiller@instructure.com>
Reviewed-by: Matthew Wheeler <mwheeler@instructure.com>
2014-10-15 20:46:56 +00:00
Simon Williams d5b4d19334 don't update graders in submission save transaction
fixes CNVS-16263

this was causing database contention and deadlocks when many submissions for
a single assignment with several graders were updated at the same time.

test plan:
* with the rails cache enabled,
  create a course with an assignment and a student
* submit an assignment as the student
* as the teacher for the course, make sure the
  assignment shows up in the to-do list on the
  dashboard page
* verify that grading the submission updates the
  to-do list right away

Change-Id: I7ba30223d0099ce36007185008937fbb3ab498bd
Reviewed-on: https://gerrit.instructure.com/42735
Reviewed-by: Cody Cutrer <cody@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: Sean Lewis <slewis@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
2014-10-15 19:51:07 +00:00
Braden Anderson 8ff922ff5f calendar: mark completed assignments
fixes CNVS-16237

test plan:
  * open calendar as a student
  * verify that assignments you have submitted are marked
  * open calendar as a grader
  * verify that past due assignments with no ungraded submissions are marked

Change-Id: Ie84c436c49feab94d5c896ab0c79306013c75185
Reviewed-on: https://gerrit.instructure.com/42759
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Brad Horrocks <bhorrocks@instructure.com>
Product-Review: Hilary Scharton <hilary@instructure.com>
QA-Review: Amber Taniuchi <amber@instructure.com>
2014-10-15 19:27:47 +00:00
Shawn Meredith 71b5d1f2a1 spec: selenium driver clean up and chrome handling
Change-Id: I6f4664c819122b4a3661ecdbf077587b3c26f1a4
Reviewed-on: https://gerrit.instructure.com/42210
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Hannah Bottalla <hannah@instructure.com>
Product-Review: Shawn Meredith <shawn@instructure.com>
QA-Review: Shawn Meredith <shawn@instructure.com>
2014-10-15 16:25:14 +00:00
Cody Cutrer 548b4acdf1 rspec 3-ify spec/apis
refs CNVS-16239

Change-Id: I88aa397fe293a8fed8584f8a0b350e8f13b52486
Reviewed-on: https://gerrit.instructure.com/42674
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Simon Williams <simon@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2014-10-15 15:49:55 +00:00
Brian Palmer e53dec0894 spec: fix encodings in tests
ruby 2.1 defaults to utf-8 for string literals, where 1.9 defaulted to
binary, so these tests need to explicitly force binary for 2.1
compatibility.

This change should only be necessary in the specs, the encoding of the
body strings coming from real data won't change with 2.1, since they
aren't string literals.

fixes CNVS-16261

Change-Id: Ifd127d077e47ab56b76620ef0974932563826cc2
Reviewed-on: https://gerrit.instructure.com/42734
Reviewed-by: Bryan Madsen <bryan@instructure.com>
Product-Review: Bryan Madsen <bryan@instructure.com>
QA-Review: Bryan Madsen <bryan@instructure.com>
Reviewed-by: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
2014-10-15 15:29:00 +00:00
Transifreq 9cac5ddaf7 Updated nb translation
Change-Id: I7412fc45228f00d4d326f8147e4ff04b802b9dae
2014-10-15 05:14:21 -06:00
Jon Jensen 8e00be91ef remove jt helper
as of https://gerrit.instructure.com/#/c/42692/ this is no longer used.
not having to support it makes i18nliner integration a tad easier.

test plan:
1. n/a, this is unused code. specs should pass

Change-Id: I2dea51f140b9c97d3b8b2418613539c967c3a868
Reviewed-on: https://gerrit.instructure.com/42693
Reviewed-by: Cameron Matheson <cameron@instructure.com>
Product-Review: Jon Jensen <jon@instructure.com>
QA-Review: Jon Jensen <jon@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
2014-10-15 05:03:03 +00:00
Braden Anderson 73aa481ab8 calendar events api: include user_submitted on assignments
refs CNVS-16237

test plan:
  * open your browser console
  * load the calendar
  * open the type=assignment API request
  * verify that each assignment returned has user_submitted
      (on the inner assignment hash)
  * verify that user_submitted corresponds to having a submission

Change-Id: I41f99d3239e040fd6775f13aea88f4ce50b3b33e
Reviewed-on: https://gerrit.instructure.com/42747
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Brian Palmer <brianp@instructure.com>
Reviewed-by: Matthew Wheeler <mwheeler@instructure.com>
QA-Review: August Thornton <august@instructure.com>
Product-Review: Braden Anderson <braden@instructure.com>
2014-10-15 03:28:38 +00:00
Cody Cutrer 9407689be8 rspec 3-ify spec/lib
refs CNVS-16239

Change-Id: Id6d24bf80d8c5722b7ba613e566edafefb177b89
Reviewed-on: https://gerrit.instructure.com/42660
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Braden Anderson <braden@instructure.com>
Product-Review: Braden Anderson <braden@instructure.com>
QA-Review: Braden Anderson <braden@instructure.com>
2014-10-14 20:47:42 +00:00
Shawn Meredith 206172ba1e spec: selenium spec tagging priorities
Change-Id: Ica4b993ac070894549aeae3ce3e087a5517c5737
Reviewed-on: https://gerrit.instructure.com/41499
Reviewed-by: Hannah Bottalla <hannah@instructure.com>
Product-Review: Shawn Meredith <shawn@instructure.com>
QA-Review: Shawn Meredith <shawn@instructure.com>
Tested-by: Shawn Meredith <shawn@instructure.com>
2014-10-14 20:22:46 +00:00
Cody Cutrer 912a2cb083 rspec 3-ify spec/models
refs CNVS-16239

Change-Id: I0dc5ac9cb86fbb5dd0335d9e21d77d4a48ecb774
Reviewed-on: https://gerrit.instructure.com/42697
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Simon Williams <simon@instructure.com>
2014-10-14 20:10:03 +00:00
Bryan Madsen af3960d4ac spec: test unpending
Change-Id: Iaf1414ea591d7f00c479972810151a52db73ec6a
Reviewed-on: https://gerrit.instructure.com/42721
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Shawn Meredith <shawn@instructure.com>
Product-Review: Shawn Meredith <shawn@instructure.com>
QA-Review: Shawn Meredith <shawn@instructure.com>
2014-10-14 17:32:33 +00:00
Cody Cutrer bd9ba4e545 rspec 3-ify spec/controllers
refs CNVS-16239

Change-Id: I063c25c1481deb634c652f6b45e75b63c7f4dcd3
Reviewed-on: https://gerrit.instructure.com/42677
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Simon Williams <simon@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2014-10-14 16:34:30 +00:00
Cody Cutrer fa943265d3 rspec 3-ify wiziq
refs CNVS-16239

Change-Id: I3ce62e15be7fac21abf91ae94747835d664a5d2d
Reviewed-on: https://gerrit.instructure.com/42713
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Simon Williams <simon@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2014-10-14 16:29:53 +00:00
Cody Cutrer 1ea2608f57 rspec 3-ify qti_exporter
refs CNVS-16239

Change-Id: I69a12bdf75bfbddc66bea01cb3f66e2803869f3b
Reviewed-on: https://gerrit.instructure.com/42711
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Simon Williams <simon@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2014-10-14 16:10:16 +00:00
Shawn Meredith acc681c75e spec: move intermittent specs to p2 builds
Change-Id: I4c655ce1052e6f282b9dd837d63dfe4b5ad1c9c1
Reviewed-on: https://gerrit.instructure.com/42716
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Bryan Madsen <bryan@instructure.com>
Product-Review: Bryan Madsen <bryan@instructure.com>
QA-Review: Bryan Madsen <bryan@instructure.com>
2014-10-14 16:03:57 +00:00
Cody Cutrer a40c037d81 rspec 3-ify spec/integration
refs CNVS-16239

Change-Id: Ifdda42582111e144648af46ab6c383f71c1858ab
Reviewed-on: https://gerrit.instructure.com/42678
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Braden Anderson <braden@instructure.com>
Product-Review: Braden Anderson <braden@instructure.com>
QA-Review: Braden Anderson <braden@instructure.com>
2014-10-14 14:49:18 +00:00
Cody Cutrer 575e9ab344 rspec 3-ify account_reports
Change-Id: Ia0264b8b50c9a2c96d9dc05b8dd4cba44e5cb994
Reviewed-on: https://gerrit.instructure.com/42698
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Braden Anderson <braden@instructure.com>
Product-Review: Braden Anderson <braden@instructure.com>
QA-Review: Braden Anderson <braden@instructure.com>
2014-10-14 14:49:11 +00:00
Cody Cutrer 999082daf3 rspec 3-ify moodle2cc
refs CNVS-16239

Change-Id: Id010885bcb854fdaa3c3a2aec6db4f4ed4a46c06
Reviewed-on: https://gerrit.instructure.com/42707
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Braden Anderson <braden@instructure.com>
Product-Review: Braden Anderson <braden@instructure.com>
QA-Review: Braden Anderson <braden@instructure.com>
2014-10-14 14:18:53 +00:00
Cody Cutrer 19f44adc18 rspec 3-ify spec/serializers
refs CNVS-16239

Change-Id: Ib2b8647b1da7e2dfb7a742ceaa70f3b12c87deec
Reviewed-on: https://gerrit.instructure.com/42671
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Braden Anderson <braden@instructure.com>
Product-Review: Braden Anderson <braden@instructure.com>
QA-Review: Braden Anderson <braden@instructure.com>
2014-10-14 14:17:16 +00:00
Transifreq e6dc50ba64 Updated zh_Hant translation
Change-Id: I385f69d0a5333831c0817750ef22731c09e2494b
2014-10-14 05:28:28 -06:00
Transifreq f3484ef555 Updated zh translation
Change-Id: Ica7e89b450dd9a42b230d23f327d20a004c50872
2014-10-14 05:25:09 -06:00
Transifreq feef834956 Updated ar translation
Change-Id: I87a1c0ef458faa126163fef2ed376030fc07612d
2014-10-14 05:04:20 -06:00
Cody Cutrer 7aa71ba32c rspec 3-ify spec/middleware
refs CNVS-16239

Change-Id: I973fbd12cd3cb316aca50d0cbafdd8f14488502a
Reviewed-on: https://gerrit.instructure.com/42668
Reviewed-by: Paul Hinze <paulh@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2014-10-14 00:51:08 +00:00
Cody Cutrer 60d64cfd2c rspec 3-ify spec/views
refs CNVS-16239

Change-Id: I8bacac4c1f6dcf8f033cbdc859b61ce4a33076dd
Reviewed-on: https://gerrit.instructure.com/42672
Reviewed-by: Paul Hinze <paulh@instructure.com>
Product-Review: Paul Hinze <paulh@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2014-10-14 00:44:39 +00:00
Cody Cutrer 3cf156f051 rspec 3-ify spec/observers
refs CNVS-16239

Change-Id: I302fc5190effeec8bfff59689a96d4862227a78f
Reviewed-on: https://gerrit.instructure.com/42669
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Paul Hinze <paulh@instructure.com>
Product-Review: Braden Anderson <braden@instructure.com>
QA-Review: Braden Anderson <braden@instructure.com>
2014-10-13 23:13:05 +00:00
Cody Cutrer 5abfdd3a2d rspec 3-ify spec/presenters
refs CNVS-16239

Change-Id: If379a98243e708d25ad99bfa8b1773730ead1c51
Reviewed-on: https://gerrit.instructure.com/42670
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Paul Hinze <paulh@instructure.com>
Product-Review: Braden Anderson <braden@instructure.com>
QA-Review: Braden Anderson <braden@instructure.com>
2014-10-13 23:12:43 +00:00
Cody Cutrer 67c8dc63ed rspec 3-ify spec/gem_integration
refs CNVS-16239

Change-Id: I38f598583c7208973f6ab855352d4e7be4461e71
Reviewed-on: https://gerrit.instructure.com/42664
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Paul Hinze <paulh@instructure.com>
Product-Review: Braden Anderson <braden@instructure.com>
QA-Review: Braden Anderson <braden@instructure.com>
2014-10-13 23:12:18 +00:00
Cody Cutrer 5a810afcef rspec 3-ify spec/helpers
refs CNVS-16239

Change-Id: I00fa05dd66222d592d629612e8a1cdf8572191d7
Reviewed-on: https://gerrit.instructure.com/42665
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Paul Hinze <paulh@instructure.com>
Product-Review: Braden Anderson <braden@instructure.com>
QA-Review: Braden Anderson <braden@instructure.com>
2014-10-13 23:11:54 +00:00
Cody Cutrer 26115c7423 rspec 3-ify spec/initializers
refs CNVS-16239

Change-Id: Ida6f59824f8171e67f0bf3a02ce88ec6c0b0e9ac
Reviewed-on: https://gerrit.instructure.com/42663
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Braden Anderson <braden@instructure.com>
Product-Review: Braden Anderson <braden@instructure.com>
QA-Review: Braden Anderson <braden@instructure.com>
2014-10-13 23:10:35 +00:00
Cody Cutrer 2eb3b9321e rspec 3-ify spec/messages
refs CNVS-16239

Change-Id: I72027396dde16a7b8653547aa54258adfed7cd26
Reviewed-on: https://gerrit.instructure.com/42666
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Braden Anderson <braden@instructure.com>
Product-Review: Braden Anderson <braden@instructure.com>
QA-Review: Braden Anderson <braden@instructure.com>
2014-10-13 23:09:58 +00:00
Clay Diffrient a09989c782 Adds support for previewing all previewable files
closes CNVS-15879

Test Plan:
  - Add a bunch of files of different types
  - Go to file preview and look at the preview of these files
  - More than just images should be displayed.

Change-Id: I31412c950214b87ddfe3b92f4f94e501315996d0
Reviewed-on: https://gerrit.instructure.com/42603
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Dan Minkevitch <dan@instructure.com>
QA-Review: Jahnavi Yetukuri <jyetukuri@instructure.com>
Product-Review: Cosme Salazar <cosme@instructure.com>
2014-10-13 22:44:30 +00:00
Jeremy Stanley f52276a1b0 file preview endpoint
test plan:
 0. upload the following types of files into a course, and
    note their IDs:
     a) document of some type (such as Word, PDF)
     b) image (such as JPEG, PNG, GIF)
     c) media (such as MP3, MP4, MOV)
 1. enable canvadocs and google docs previews in account
    settings.
 2. test the document preview by hitting the following
    in a new browser tab:

    /courses/X/files/Y/file_preview

    (where X is the course ID and Y is the file ID
     of the document file)
    - You should see a Canvadocs preview of the document.
    - There should be no Canvas chrome in the window, just
      the document preview.
 3. disable canvadocs but leave google doc previews
    enabled.
 4. hit the URL from step 2.
    - you should see a Google preview of the document
 5. disable Google docs previews.
 6. hit the URL from step 2.
    - you should see a message indicating that no preview is
      available, with a link to download the file.
 7. hit the URL from step 2, but substitute the file ID
    with the ID of an image instead of a document.
    - you should see the image (and nothing else).
 8. hit the URL from step 2, but substitute the file ID
    with the ID of a media file.
    - You should see a functioning media player (or a message
      indicating the media has not been converted yet)
 9. add a document to a module, and set a "must view"
    completion requirement
10. use this endpoint to preview the document, and confirm
    that the module completion requirement is fulfilled

fixes CNVS-15827

Change-Id: Id0ecaa7f003248cb3d8f163e48c3b16631ee59cf
Reviewed-on: https://gerrit.instructure.com/42438
Reviewed-by: Ryan Shaw <ryan@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: Jahnavi Yetukuri <jyetukuri@instructure.com>
Product-Review: Cosme Salazar <cosme@instructure.com>
2014-10-13 22:44:09 +00:00
Cody Cutrer e8ae046632 rspec 3-ify spec/migrations
refs CNVS-16239

Change-Id: I1abcd23d390b7a4a4b1215c4ac6cf46cd5886735
Reviewed-on: https://gerrit.instructure.com/42662
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Braden Anderson <braden@instructure.com>
Product-Review: Braden Anderson <braden@instructure.com>
QA-Review: Braden Anderson <braden@instructure.com>
2014-10-13 22:41:07 +00:00
Shawn Meredith ab12037de9 spec: course_spec pending fragile
Change-Id: I07da071bf3e8cdb475c35e6f54795bc2a5959c11
Reviewed-on: https://gerrit.instructure.com/42682
Reviewed-by: Bryan Madsen <bryan@instructure.com>
Product-Review: Bryan Madsen <bryan@instructure.com>
QA-Review: Bryan Madsen <bryan@instructure.com>
Tested-by: Bryan Madsen <bryan@instructure.com>
2014-10-13 19:51:15 +00:00
Matt Wheeler d5fbec8f8a Use `stub` not `double` in params_policy_spec
Fixes QA-550

Double gets removed when we include mocha in spec_helper.rb

This was passing when run alone because it doesn't inclue spec_helper
itself. But when run in a group with other specs that do, this is
failing.

Test plan:

Ensure both of these commands pass:

`bundle exec rspec spec/models/group_categories/params_policy_spec.rb:19
spec/models/course_spec.rb:1159`

`bundle exec rspec
spec/models/group_categories/params_policy_spec.rb:19`

Change-Id: Ibff95506a3afd72b4f817567f801434d7f29f68a
Reviewed-on: https://gerrit.instructure.com/42656
Reviewed-by: Simon Williams <simon@instructure.com>
Reviewed-by: Brian Palmer <brianp@instructure.com>
Product-Review: Matthew Wheeler <mwheeler@instructure.com>
QA-Review: Matthew Wheeler <mwheeler@instructure.com>
Tested-by: Shawn Meredith <shawn@instructure.com>
2014-10-13 17:29:21 +00:00
Shawn Meredith dcbb8da663 spec: intermittent specs pending
Change-Id: Id25b628c7b0c3cd9daf50be02a0faf788bcaee83
Reviewed-on: https://gerrit.instructure.com/42654
Reviewed-by: Bryan Madsen <bryan@instructure.com>
Product-Review: Bryan Madsen <bryan@instructure.com>
QA-Review: Bryan Madsen <bryan@instructure.com>
Tested-by: Shawn Meredith <shawn@instructure.com>
2014-10-13 16:57:26 +00:00
Transifreq 129f310698 Updated tr translation
Change-Id: Iff4ac8d5941dee383467ce57d40f0e5f1a0e945a
2014-10-11 05:23:15 -06:00
Brad Horrocks 9433110a7f Groups no longer duplicated if set is created with create_group_count
create_group_count was not being reset after a successful sync

Fixes CNVS-15204

Test Plan:

- I- n a course, open the new group set dialog
- Check allow self sign-up, enter a number for groups to create now
- Save the group set.
- Click the gear to edit the group set.
- Save the group set.
- Refresh the page.
- Note the duplicated groups in the set.

Change-Id: I493c1980dab4d15ce3a6a39b0c469e6c9bd39a28
Reviewed-on: https://gerrit.instructure.com/42582
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Matthew Wheeler <mwheeler@instructure.com>
Product-Review: Matthew Wheeler <mwheeler@instructure.com>
QA-Review: Caleb Guanzon <cguanzon@instructure.com>
2014-10-11 04:19:30 +00:00