upjs-rails 0.11.0 → 0.11.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (239) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +10 -1
  3. data/dist/up.js +138 -81
  4. data/dist/up.min.js +2 -2
  5. data/lib/assets/javascripts/up/boot.js.coffee +3 -0
  6. data/lib/assets/javascripts/up/browser.js.coffee +42 -26
  7. data/lib/assets/javascripts/up/flow.js.coffee +6 -4
  8. data/lib/assets/javascripts/up/history.js.coffee +1 -1
  9. data/lib/assets/javascripts/up/modal.js.coffee +4 -4
  10. data/lib/assets/javascripts/up/motion.js.coffee +6 -4
  11. data/lib/assets/javascripts/up/proxy.js.coffee +2 -1
  12. data/lib/assets/javascripts/up/util.js.coffee +61 -32
  13. data/lib/assets/javascripts/up.js.coffee +1 -10
  14. data/lib/upjs/rails/version.rb +1 -1
  15. data/spec_app/config/environments/development.rb +1 -1
  16. data/spec_app/spec/javascripts/helpers/reset_path.js.coffee +3 -2
  17. data/spec_app/spec/javascripts/up/flow_spec.js.coffee +1 -1
  18. data/spec_app/spec/javascripts/up/history_spec.js.coffee +53 -47
  19. data/spec_app/spec/javascripts/up/link_spec.js.coffee +1 -1
  20. data/spec_app/spec/javascripts/up/motion_spec.js.coffee +4 -4
  21. data/spec_app/spec/javascripts/up/proxy_spec.js.coffee +18 -9
  22. data/spec_app/vendor/assets/bower_components/jasmine/.bower.json +43 -7
  23. data/spec_app/vendor/assets/bower_components/jasmine/CONTRIBUTING.md +26 -17
  24. data/spec_app/vendor/assets/bower_components/jasmine/README.md +27 -18
  25. data/spec_app/vendor/assets/bower_components/jasmine/RELEASE.md +15 -5
  26. data/spec_app/vendor/assets/bower_components/jasmine/bower.json +41 -0
  27. data/spec_app/vendor/assets/bower_components/jasmine/lib/console/console.js +27 -3
  28. data/spec_app/vendor/assets/bower_components/jasmine/lib/jasmine-core/boot.js +10 -9
  29. data/spec_app/vendor/assets/bower_components/jasmine/lib/jasmine-core/example/node_example/{src → lib/jasmine_examples}/Player.js +0 -0
  30. data/spec_app/vendor/assets/bower_components/jasmine/lib/jasmine-core/example/node_example/{src → lib/jasmine_examples}/Song.js +0 -0
  31. data/spec_app/vendor/assets/bower_components/jasmine/lib/jasmine-core/jasmine-html.js +76 -20
  32. data/spec_app/vendor/assets/bower_components/jasmine/lib/jasmine-core/jasmine.css +15 -18
  33. data/spec_app/vendor/assets/bower_components/jasmine/lib/jasmine-core/jasmine.js +1399 -694
  34. data/spec_app/vendor/assets/bower_components/jasmine/lib/jasmine-core/json2.js +73 -62
  35. data/spec_app/vendor/assets/bower_components/jasmine/lib/jasmine-core/node_boot.js +1 -1
  36. data/spec_app/vendor/assets/bower_components/jasmine/lib/jasmine-core.js +29 -31
  37. data/spec_app/vendor/assets/bower_components/jasmine/package.json +18 -7
  38. data/spec_app/vendor/assets/bower_components/jasmine-ajax/.bower.json +11 -13
  39. data/spec_app/vendor/assets/bower_components/jasmine-ajax/MIT.LICENSE +1 -1
  40. data/spec_app/vendor/assets/bower_components/jasmine-ajax/README.markdown +198 -125
  41. data/spec_app/vendor/assets/bower_components/jasmine-ajax/bower.json +9 -10
  42. data/spec_app/vendor/assets/bower_components/jasmine-ajax/lib/mock-ajax.js +250 -59
  43. data/spec_app/vendor/assets/bower_components/jasmine-ajax/package.json +9 -4
  44. data/spec_app/vendor/assets/bower_components/jasmine-ajax/release_notes/2.0.2.md +50 -0
  45. data/spec_app/vendor/assets/bower_components/jasmine-ajax/release_notes/2.99.md +14 -0
  46. data/spec_app/vendor/assets/bower_components/jasmine-ajax/release_notes/3.0.md +28 -0
  47. data/spec_app/vendor/assets/bower_components/jasmine-ajax/release_notes/3.1.0.md +24 -0
  48. data/spec_app/vendor/assets/bower_components/jasmine-ajax/release_notes/3.1.1.md +23 -0
  49. data/spec_app/vendor/assets/bower_components/jasmine-ajax/release_notes/3.2.0.md +20 -0
  50. data/spec_app/vendor/assets/bower_components/jasmine-fixture/.bower.json +4 -4
  51. data/spec_app/vendor/assets/bower_components/jasmine-fixture/bower.json +1 -1
  52. data/spec_app/vendor/assets/bower_components/jasmine-fixture/dist/jasmine-fixture.js +4 -4
  53. data/spec_app/vendor/assets/bower_components/jasmine-fixture/dist/jasmine-fixture.min.js +2 -2
  54. data/spec_app/vendor/assets/bower_components/jasmine-jquery/.bower.json +4 -4
  55. data/spec_app/vendor/assets/bower_components/jasmine-jquery/Gruntfile.js +17 -1
  56. data/spec_app/vendor/assets/bower_components/jasmine-jquery/{MIT.LICENSE → LICENSE} +0 -0
  57. data/spec_app/vendor/assets/bower_components/jasmine-jquery/README.md +14 -9
  58. data/spec_app/vendor/assets/bower_components/jasmine-jquery/bower.json +0 -1
  59. data/spec_app/vendor/assets/bower_components/jasmine-jquery/lib/jasmine-jquery.js +35 -10
  60. data/spec_app/vendor/assets/bower_components/jasmine-jquery/package.json +33 -24
  61. data/spec_app/vendor/assets/bower_components/jasmine-jquery/spec/fixtures/fixture_with_checkbox_with_checked.html +6 -0
  62. data/spec_app/vendor/assets/bower_components/jasmine-jquery/spec/suites/jasmine-jquery-spec.js +61 -1
  63. data/spec_app/vendor/assets/bower_components/jquery/.bower.json +5 -4
  64. data/spec_app/vendor/assets/bower_components/jquery/bower.json +2 -1
  65. data/spec_app/vendor/assets/bower_components/jquery/dist/jquery.js +9 -4
  66. data/spec_app/vendor/assets/bower_components/jquery/dist/jquery.min.js +4 -4
  67. data/spec_app/vendor/assets/bower_components/jquery/dist/jquery.min.map +1 -1
  68. data/spec_app/vendor/assets/bower_components/jquery/src/core.js +6 -1
  69. metadata +14 -175
  70. data/spec_app/vendor/assets/bower_components/jasmine/.gitignore +0 -24
  71. data/spec_app/vendor/assets/bower_components/jasmine/.gitmodules +0 -3
  72. data/spec_app/vendor/assets/bower_components/jasmine/.jshintrc +0 -9
  73. data/spec_app/vendor/assets/bower_components/jasmine/.npmignore +0 -21
  74. data/spec_app/vendor/assets/bower_components/jasmine/.rspec +0 -1
  75. data/spec_app/vendor/assets/bower_components/jasmine/.travis.yml +0 -51
  76. data/spec_app/vendor/assets/bower_components/jasmine/Gemfile +0 -12
  77. data/spec_app/vendor/assets/bower_components/jasmine/Gruntfile.js +0 -53
  78. data/spec_app/vendor/assets/bower_components/jasmine/Rakefile +0 -18
  79. data/spec_app/vendor/assets/bower_components/jasmine/dist/jasmine-standalone-1.0.0.zip +0 -0
  80. data/spec_app/vendor/assets/bower_components/jasmine/dist/jasmine-standalone-1.1.0.zip +0 -0
  81. data/spec_app/vendor/assets/bower_components/jasmine/dist/jasmine-standalone-1.2.0.zip +0 -0
  82. data/spec_app/vendor/assets/bower_components/jasmine/dist/jasmine-standalone-1.3.0.zip +0 -0
  83. data/spec_app/vendor/assets/bower_components/jasmine/dist/jasmine-standalone-1.3.1.zip +0 -0
  84. data/spec_app/vendor/assets/bower_components/jasmine/dist/jasmine-standalone-2.0.0.zip +0 -0
  85. data/spec_app/vendor/assets/bower_components/jasmine/dist/jasmine-standalone-2.0.1.zip +0 -0
  86. data/spec_app/vendor/assets/bower_components/jasmine/dist/jasmine-standalone-2.0.2.zip +0 -0
  87. data/spec_app/vendor/assets/bower_components/jasmine/dist/jasmine-standalone-2.0.3.zip +0 -0
  88. data/spec_app/vendor/assets/bower_components/jasmine/grunt/config/compass.js +0 -10
  89. data/spec_app/vendor/assets/bower_components/jasmine/grunt/config/compress.js +0 -66
  90. data/spec_app/vendor/assets/bower_components/jasmine/grunt/config/concat.js +0 -61
  91. data/spec_app/vendor/assets/bower_components/jasmine/grunt/config/jshint.js +0 -11
  92. data/spec_app/vendor/assets/bower_components/jasmine/grunt/tasks/build_standalone.js +0 -31
  93. data/spec_app/vendor/assets/bower_components/jasmine/grunt/tasks/version.js +0 -14
  94. data/spec_app/vendor/assets/bower_components/jasmine/grunt/templates/SpecRunner.html.jst +0 -26
  95. data/spec_app/vendor/assets/bower_components/jasmine/grunt/templates/licenseBanner.js.jst +0 -22
  96. data/spec_app/vendor/assets/bower_components/jasmine/grunt/templates/version.rb.jst +0 -9
  97. data/spec_app/vendor/assets/bower_components/jasmine/images/__init__.py +0 -0
  98. data/spec_app/vendor/assets/bower_components/jasmine/jasmine-core.gemspec +0 -23
  99. data/spec_app/vendor/assets/bower_components/jasmine/lib/jasmine-core/__init__.py +0 -1
  100. data/spec_app/vendor/assets/bower_components/jasmine/lib/jasmine-core/boot/boot.js +0 -120
  101. data/spec_app/vendor/assets/bower_components/jasmine/lib/jasmine-core/boot/node_boot.js +0 -19
  102. data/spec_app/vendor/assets/bower_components/jasmine/lib/jasmine-core/core.py +0 -60
  103. data/spec_app/vendor/assets/bower_components/jasmine/lib/jasmine-core/example/node_example/spec/PlayerSpec.js +0 -60
  104. data/spec_app/vendor/assets/bower_components/jasmine/lib/jasmine-core/example/node_example/spec/SpecHelper.js +0 -15
  105. data/spec_app/vendor/assets/bower_components/jasmine/lib/jasmine-core/example/spec/PlayerSpec.js +0 -58
  106. data/spec_app/vendor/assets/bower_components/jasmine/lib/jasmine-core/example/spec/SpecHelper.js +0 -15
  107. data/spec_app/vendor/assets/bower_components/jasmine/lib/jasmine-core/example/src/Player.js +0 -22
  108. data/spec_app/vendor/assets/bower_components/jasmine/lib/jasmine-core/example/src/Song.js +0 -7
  109. data/spec_app/vendor/assets/bower_components/jasmine/lib/jasmine-core/version.rb +0 -9
  110. data/spec_app/vendor/assets/bower_components/jasmine/lib/jasmine-core.rb +0 -53
  111. data/spec_app/vendor/assets/bower_components/jasmine/release_notes/2.0.1.md +0 -70
  112. data/spec_app/vendor/assets/bower_components/jasmine/release_notes/2.0.2.md +0 -25
  113. data/spec_app/vendor/assets/bower_components/jasmine/release_notes/20.md +0 -179
  114. data/spec_app/vendor/assets/bower_components/jasmine/setup.py +0 -47
  115. data/spec_app/vendor/assets/bower_components/jasmine/spec/console/ConsoleReporterSpec.js +0 -239
  116. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/AnySpec.js +0 -46
  117. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/CallTrackerSpec.js +0 -105
  118. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/ClockSpec.js +0 -445
  119. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/DelayedFunctionSchedulerSpec.js +0 -246
  120. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/EnvSpec.js +0 -85
  121. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/ExceptionFormatterSpec.js +0 -63
  122. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/ExceptionsSpec.js +0 -68
  123. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/ExpectationResultSpec.js +0 -61
  124. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/ExpectationSpec.js +0 -427
  125. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/JsApiReporterSpec.js +0 -214
  126. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/MockDateSpec.js +0 -199
  127. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/ObjectContainingSpec.js +0 -70
  128. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/PrettyPrintSpec.js +0 -156
  129. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/QueueRunnerSpec.js +0 -271
  130. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/ReportDispatcherSpec.js +0 -40
  131. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/SpecSpec.js +0 -260
  132. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/SpySpec.js +0 -67
  133. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/SpyStrategySpec.js +0 -111
  134. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/SuiteSpec.js +0 -216
  135. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/TimerSpec.js +0 -31
  136. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/UtilSpec.js +0 -28
  137. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/integration/CustomMatchersSpec.js +0 -149
  138. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/integration/EnvSpec.js +0 -506
  139. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/integration/SpecRunningSpec.js +0 -306
  140. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/matchers/matchersUtilSpec.js +0 -239
  141. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/matchers/toBeCloseToSpec.js +0 -51
  142. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/matchers/toBeDefinedSpec.js +0 -18
  143. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/matchers/toBeFalsySpec.js +0 -38
  144. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/matchers/toBeGreaterThanSpec.js +0 -20
  145. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/matchers/toBeLessThanSpec.js +0 -20
  146. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/matchers/toBeNaNSpec.js +0 -37
  147. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/matchers/toBeNullSpec.js +0 -17
  148. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/matchers/toBeSpec.js +0 -17
  149. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/matchers/toBeTruthySpec.js +0 -38
  150. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/matchers/toBeUndefinedSpec.js +0 -18
  151. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/matchers/toContainSpec.js +0 -26
  152. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/matchers/toEqualSpec.js +0 -28
  153. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/matchers/toHaveBeenCalledSpec.js +0 -47
  154. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/matchers/toHaveBeenCalledWithSpec.js +0 -66
  155. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/matchers/toMatchSpec.js +0 -34
  156. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/matchers/toThrowErrorSpec.js +0 -280
  157. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/matchers/toThrowSpec.js +0 -99
  158. data/spec_app/vendor/assets/bower_components/jasmine/spec/helpers/BrowserFlags.js +0 -23
  159. data/spec_app/vendor/assets/bower_components/jasmine/spec/helpers/defineJasmineUnderTest.js +0 -7
  160. data/spec_app/vendor/assets/bower_components/jasmine/spec/helpers/nodeDefineJasmineUnderTest.js +0 -33
  161. data/spec_app/vendor/assets/bower_components/jasmine/spec/html/HtmlReporterSpec.js +0 -616
  162. data/spec_app/vendor/assets/bower_components/jasmine/spec/html/HtmlSpecFilterSpec.js +0 -18
  163. data/spec_app/vendor/assets/bower_components/jasmine/spec/html/MatchersHtmlSpec.js +0 -37
  164. data/spec_app/vendor/assets/bower_components/jasmine/spec/html/PrettyPrintHtmlSpec.js +0 -15
  165. data/spec_app/vendor/assets/bower_components/jasmine/spec/html/QueryStringSpec.js +0 -43
  166. data/spec_app/vendor/assets/bower_components/jasmine/spec/html/ResultsNodeSpec.js +0 -62
  167. data/spec_app/vendor/assets/bower_components/jasmine/spec/javascripts/support/jasmine_selenium_runner.yml +0 -16
  168. data/spec_app/vendor/assets/bower_components/jasmine/spec/performance/large_object_test.js +0 -36
  169. data/spec_app/vendor/assets/bower_components/jasmine/spec/performance/performance_test.js +0 -10
  170. data/spec_app/vendor/assets/bower_components/jasmine/spec/support/jasmine-performance.json +0 -9
  171. data/spec_app/vendor/assets/bower_components/jasmine/spec/support/jasmine-performance.yml +0 -9
  172. data/spec_app/vendor/assets/bower_components/jasmine/spec/support/jasmine.json +0 -10
  173. data/spec_app/vendor/assets/bower_components/jasmine/spec/support/jasmine.yml +0 -25
  174. data/spec_app/vendor/assets/bower_components/jasmine/src/console/ConsoleReporter.js +0 -131
  175. data/spec_app/vendor/assets/bower_components/jasmine/src/console/requireConsole.js +0 -12
  176. data/spec_app/vendor/assets/bower_components/jasmine/src/core/Any.js +0 -36
  177. data/spec_app/vendor/assets/bower_components/jasmine/src/core/CallTracker.js +0 -50
  178. data/spec_app/vendor/assets/bower_components/jasmine/src/core/Clock.js +0 -113
  179. data/spec_app/vendor/assets/bower_components/jasmine/src/core/DelayedFunctionScheduler.js +0 -145
  180. data/spec_app/vendor/assets/bower_components/jasmine/src/core/Env.js +0 -341
  181. data/spec_app/vendor/assets/bower_components/jasmine/src/core/ExceptionFormatter.js +0 -29
  182. data/spec_app/vendor/assets/bower_components/jasmine/src/core/Expectation.js +0 -107
  183. data/spec_app/vendor/assets/bower_components/jasmine/src/core/ExpectationResult.js +0 -45
  184. data/spec_app/vendor/assets/bower_components/jasmine/src/core/JsApiReporter.js +0 -73
  185. data/spec_app/vendor/assets/bower_components/jasmine/src/core/MockDate.js +0 -81
  186. data/spec_app/vendor/assets/bower_components/jasmine/src/core/ObjectContaining.js +0 -34
  187. data/spec_app/vendor/assets/bower_components/jasmine/src/core/PrettyPrinter.js +0 -137
  188. data/spec_app/vendor/assets/bower_components/jasmine/src/core/QueueRunner.js +0 -92
  189. data/spec_app/vendor/assets/bower_components/jasmine/src/core/ReportDispatcher.js +0 -35
  190. data/spec_app/vendor/assets/bower_components/jasmine/src/core/Spec.js +0 -126
  191. data/spec_app/vendor/assets/bower_components/jasmine/src/core/SpyStrategy.js +0 -51
  192. data/spec_app/vendor/assets/bower_components/jasmine/src/core/Suite.js +0 -92
  193. data/spec_app/vendor/assets/bower_components/jasmine/src/core/Timer.js +0 -22
  194. data/spec_app/vendor/assets/bower_components/jasmine/src/core/base.js +0 -102
  195. data/spec_app/vendor/assets/bower_components/jasmine/src/core/matchers/matchersUtil.js +0 -181
  196. data/spec_app/vendor/assets/bower_components/jasmine/src/core/matchers/requireMatchers.js +0 -29
  197. data/spec_app/vendor/assets/bower_components/jasmine/src/core/matchers/toBe.js +0 -13
  198. data/spec_app/vendor/assets/bower_components/jasmine/src/core/matchers/toBeCloseTo.js +0 -18
  199. data/spec_app/vendor/assets/bower_components/jasmine/src/core/matchers/toBeDefined.js +0 -13
  200. data/spec_app/vendor/assets/bower_components/jasmine/src/core/matchers/toBeFalsy.js +0 -13
  201. data/spec_app/vendor/assets/bower_components/jasmine/src/core/matchers/toBeGreaterThan.js +0 -15
  202. data/spec_app/vendor/assets/bower_components/jasmine/src/core/matchers/toBeLessThan.js +0 -14
  203. data/spec_app/vendor/assets/bower_components/jasmine/src/core/matchers/toBeNaN.js +0 -22
  204. data/spec_app/vendor/assets/bower_components/jasmine/src/core/matchers/toBeNull.js +0 -14
  205. data/spec_app/vendor/assets/bower_components/jasmine/src/core/matchers/toBeTruthy.js +0 -14
  206. data/spec_app/vendor/assets/bower_components/jasmine/src/core/matchers/toBeUndefined.js +0 -14
  207. data/spec_app/vendor/assets/bower_components/jasmine/src/core/matchers/toContain.js +0 -16
  208. data/spec_app/vendor/assets/bower_components/jasmine/src/core/matchers/toEqual.js +0 -20
  209. data/spec_app/vendor/assets/bower_components/jasmine/src/core/matchers/toHaveBeenCalled.js +0 -28
  210. data/spec_app/vendor/assets/bower_components/jasmine/src/core/matchers/toHaveBeenCalledWith.js +0 -33
  211. data/spec_app/vendor/assets/bower_components/jasmine/src/core/matchers/toMatch.js +0 -16
  212. data/spec_app/vendor/assets/bower_components/jasmine/src/core/matchers/toThrow.js +0 -46
  213. data/spec_app/vendor/assets/bower_components/jasmine/src/core/matchers/toThrowError.js +0 -156
  214. data/spec_app/vendor/assets/bower_components/jasmine/src/core/requireCore.js +0 -39
  215. data/spec_app/vendor/assets/bower_components/jasmine/src/core/requireInterface.js +0 -59
  216. data/spec_app/vendor/assets/bower_components/jasmine/src/core/util.js +0 -44
  217. data/spec_app/vendor/assets/bower_components/jasmine/src/html/HtmlReporter.js +0 -280
  218. data/spec_app/vendor/assets/bower_components/jasmine/src/html/HtmlSpecFilter.js +0 -12
  219. data/spec_app/vendor/assets/bower_components/jasmine/src/html/QueryString.js +0 -47
  220. data/spec_app/vendor/assets/bower_components/jasmine/src/html/ResultsNode.js +0 -19
  221. data/spec_app/vendor/assets/bower_components/jasmine/src/html/_HTMLReporter.scss +0 -355
  222. data/spec_app/vendor/assets/bower_components/jasmine/src/html/jasmine.scss +0 -1
  223. data/spec_app/vendor/assets/bower_components/jasmine/src/html/requireHtml.js +0 -6
  224. data/spec_app/vendor/assets/bower_components/jasmine/src/templates/example_project_jasmine_tags.html.erb +0 -3
  225. data/spec_app/vendor/assets/bower_components/jasmine/src/templates/version.js.erb +0 -7
  226. data/spec_app/vendor/assets/bower_components/jasmine/src/templates/version.rb.erb +0 -6
  227. data/spec_app/vendor/assets/bower_components/jasmine/src/version.js +0 -3
  228. data/spec_app/vendor/assets/bower_components/jasmine/travis-core-script.sh +0 -14
  229. data/spec_app/vendor/assets/bower_components/jasmine/travis-docs-script.sh +0 -5
  230. data/spec_app/vendor/assets/bower_components/jasmine/travis-node-script.sh +0 -6
  231. data/spec_app/vendor/assets/bower_components/jasmine-ajax/Gruntfile.js +0 -63
  232. data/spec_app/vendor/assets/bower_components/jasmine-ajax/src/boot.js +0 -11
  233. data/spec_app/vendor/assets/bower_components/jasmine-ajax/src/fakeRequest.js +0 -262
  234. data/spec_app/vendor/assets/bower_components/jasmine-ajax/src/mockAjax.js +0 -45
  235. data/spec_app/vendor/assets/bower_components/jasmine-ajax/src/paramParser.js +0 -56
  236. data/spec_app/vendor/assets/bower_components/jasmine-ajax/src/requestStub.js +0 -42
  237. data/spec_app/vendor/assets/bower_components/jasmine-ajax/src/requestTracker.js +0 -51
  238. data/spec_app/vendor/assets/bower_components/jasmine-ajax/src/requireAjax.js +0 -44
  239. data/spec_app/vendor/assets/bower_components/jasmine-ajax/src/stubTracker.js +0 -24
@@ -1,306 +0,0 @@
1
- describe("jasmine spec running", function () {
2
- var env;
3
- var fakeTimer;
4
-
5
- beforeEach(function() {
6
- env = new j$.Env();
7
- });
8
-
9
- it('should assign spec ids sequentially', function() {
10
- var it0, it1, it2, it3, it4;
11
- env.describe('test suite', function() {
12
- it0 = env.it('spec 0', function() {
13
- });
14
- it1 = env.it('spec 1', function() {
15
- });
16
- it2 = env.xit('spec 2', function() {
17
- });
18
- it3 = env.it('spec 3', function() {
19
- });
20
- });
21
- env.describe('test suite 2', function() {
22
- it4 = env.it('spec 4', function() {
23
- });
24
- });
25
-
26
- expect(it0.id).toEqual('spec0');
27
- expect(it1.id).toEqual('spec1');
28
- expect(it2.id).toEqual('spec2');
29
- expect(it3.id).toEqual('spec3');
30
- expect(it4.id).toEqual('spec4');
31
- });
32
-
33
- it('nested suites', function (done) {
34
-
35
- var foo = 0;
36
- var bar = 0;
37
- var baz = 0;
38
- var quux = 0;
39
- var nested = env.describe('suite', function () {
40
- env.describe('nested', function () {
41
- env.it('should run nested suites', function () {
42
- foo++;
43
- });
44
- env.it('should run nested suites', function () {
45
- bar++;
46
- });
47
- });
48
-
49
- env.describe('nested 2', function () {
50
- env.it('should run suites following nested suites', function () {
51
- baz++;
52
- });
53
- });
54
-
55
- env.it('should run tests following nested suites', function () {
56
- quux++;
57
- });
58
- });
59
-
60
- expect(foo).toEqual(0);
61
- expect(bar).toEqual(0);
62
- expect(baz).toEqual(0);
63
- expect(quux).toEqual(0);
64
- nested.execute(function() {
65
- expect(foo).toEqual(1);
66
- expect(bar).toEqual(1);
67
- expect(baz).toEqual(1);
68
- expect(quux).toEqual(1);
69
- done();
70
- });
71
- });
72
-
73
- it("should permit nested describes", function(done) {
74
- var actions = [];
75
-
76
- env.beforeEach(function () {
77
- actions.push('topSuite beforeEach');
78
- });
79
-
80
- env.afterEach(function () {
81
- actions.push('topSuite afterEach');
82
- });
83
-
84
- env.describe('Something', function() {
85
- env.beforeEach(function() {
86
- actions.push('outer beforeEach');
87
- });
88
-
89
- env.afterEach(function() {
90
- actions.push('outer afterEach');
91
- });
92
-
93
- env.it('does it 1', function() {
94
- actions.push('outer it 1');
95
- });
96
-
97
- env.describe('Inner 1', function() {
98
- env.beforeEach(function() {
99
- actions.push('inner 1 beforeEach');
100
- });
101
-
102
- env.afterEach(function() {
103
- actions.push('inner 1 afterEach');
104
- });
105
-
106
- env.it('does it 2', function() {
107
- actions.push('inner 1 it');
108
- });
109
- });
110
-
111
- env.it('does it 3', function() {
112
- actions.push('outer it 2');
113
- });
114
-
115
- env.describe('Inner 2', function() {
116
- env.beforeEach(function() {
117
- actions.push('inner 2 beforeEach');
118
- });
119
-
120
- env.afterEach(function() {
121
- actions.push('inner 2 afterEach');
122
- });
123
-
124
- env.it('does it 2', function() {
125
- actions.push('inner 2 it');
126
- });
127
- });
128
- });
129
-
130
- var assertions = function() {
131
- var expected = [
132
- "topSuite beforeEach",
133
- "outer beforeEach",
134
- "outer it 1",
135
- "outer afterEach",
136
- "topSuite afterEach",
137
-
138
- "topSuite beforeEach",
139
- "outer beforeEach",
140
- "inner 1 beforeEach",
141
- "inner 1 it",
142
- "inner 1 afterEach",
143
- "outer afterEach",
144
- "topSuite afterEach",
145
-
146
- "topSuite beforeEach",
147
- "outer beforeEach",
148
- "outer it 2",
149
- "outer afterEach",
150
- "topSuite afterEach",
151
-
152
- "topSuite beforeEach",
153
- "outer beforeEach",
154
- "inner 2 beforeEach",
155
- "inner 2 it",
156
- "inner 2 afterEach",
157
- "outer afterEach",
158
- "topSuite afterEach"
159
- ];
160
- expect(actions).toEqual(expected);
161
- done();
162
- }
163
-
164
- env.addReporter({jasmineDone: assertions});
165
-
166
- env.execute();
167
- });
168
-
169
- it("should run multiple befores and afters in the order they are declared", function(done) {
170
- var actions = [];
171
-
172
- env.beforeEach(function () {
173
- actions.push('runner beforeEach1');
174
- });
175
-
176
- env.afterEach(function () {
177
- actions.push('runner afterEach1');
178
- });
179
-
180
- env.beforeEach(function () {
181
- actions.push('runner beforeEach2');
182
- });
183
-
184
- env.afterEach(function () {
185
- actions.push('runner afterEach2');
186
- });
187
-
188
- env.describe('Something', function() {
189
- env.beforeEach(function() {
190
- actions.push('beforeEach1');
191
- });
192
-
193
- env.afterEach(function() {
194
- actions.push('afterEach1');
195
- });
196
-
197
- env.beforeEach(function() {
198
- actions.push('beforeEach2');
199
- });
200
-
201
- env.afterEach(function() {
202
- actions.push('afterEach2');
203
- });
204
-
205
- env.it('does it 1', function() {
206
- actions.push('outer it 1');
207
- });
208
- });
209
-
210
- var assertions = function() {
211
- var expected = [
212
- "runner beforeEach1",
213
- "runner beforeEach2",
214
- "beforeEach1",
215
- "beforeEach2",
216
- "outer it 1",
217
- "afterEach2",
218
- "afterEach1",
219
- "runner afterEach2",
220
- "runner afterEach1"
221
- ];
222
- expect(actions).toEqual(expected);
223
- done();
224
- };
225
-
226
- env.addReporter({jasmineDone: assertions});
227
-
228
- env.execute();
229
- });
230
-
231
- it("shouldn't run disabled suites", function(done) {
232
- var specInADisabledSuite = jasmine.createSpy("specInADisabledSuite"),
233
- suite = env.describe('A Suite', function() {
234
- env.xdescribe('with a disabled suite', function(){
235
- env.it('spec inside a disabled suite', specInADisabledSuite);
236
- });
237
- });
238
-
239
- suite.execute(function() {
240
- expect(specInADisabledSuite).not.toHaveBeenCalled();
241
- done();
242
- });
243
- });
244
-
245
- it("should set all pending specs to pending when a suite is run", function(done) {
246
- var pendingSpec,
247
- suite = env.describe('default current suite', function() {
248
- pendingSpec = env.it("I am a pending spec");
249
- });
250
-
251
- suite.execute(function() {
252
- expect(pendingSpec.status()).toBe("pending");
253
- done();
254
- });
255
- });
256
-
257
-
258
- // TODO: is this useful? It doesn't catch syntax errors
259
- xit("should recover gracefully when there are errors in describe functions", function() {
260
- var specs = [];
261
- var superSimpleReporter = new j$.Reporter();
262
- superSimpleReporter.reportSpecResults = function(result) {
263
- specs.push("Spec: " + result.fullName);
264
- };
265
-
266
- try {
267
- env.describe("outer1", function() {
268
- env.describe("inner1", function() {
269
- env.it("should thingy", function() {
270
- this.expect(true).toEqual(true);
271
- });
272
-
273
- throw new Error("fake error");
274
- });
275
-
276
- env.describe("inner2", function() {
277
- env.it("should other thingy", function() {
278
- this.expect(true).toEqual(true);
279
- });
280
- });
281
-
282
- throw new Error("fake error");
283
-
284
- });
285
- } catch(e) {
286
- }
287
-
288
- env.describe("outer2", function() {
289
- env.it("should xxx", function() {
290
- this.expect(true).toEqual(true);
291
- });
292
- });
293
-
294
- env.addReporter(superSimpleReporter);
295
- env.execute();
296
-
297
- expect(specs.join('')).toMatch(new RegExp(
298
- 'Spec: outer1 inner1 should thingy.' +
299
- 'Spec: outer1 inner1 encountered a declaration exception.' +
300
- 'Spec: outer1 inner2 should other thingy.' +
301
- 'Spec: outer1 encountered a declaration exception.' +
302
- 'Spec: outer2 should xxx.'
303
- ));
304
-
305
- });
306
- });
@@ -1,239 +0,0 @@
1
- describe("matchersUtil", function() {
2
- describe("equals", function() {
3
- it("passes for literals that are triple-equal", function() {
4
- expect(j$.matchersUtil.equals(null, null)).toBe(true);
5
- expect(j$.matchersUtil.equals(void 0, void 0)).toBe(true);
6
- });
7
-
8
- it("fails for things that are not equivalent", function() {
9
- expect(j$.matchersUtil.equals({a: "foo"}, 1)).toBe(false);
10
- });
11
-
12
- it("passes for Strings that are equivalent", function() {
13
- expect(j$.matchersUtil.equals("foo", "foo")).toBe(true);
14
- });
15
-
16
- it("fails for Strings that are not equivalent", function() {
17
- expect(j$.matchersUtil.equals("foo", "bar")).toBe(false);
18
- });
19
-
20
- it("passes for Numbers that are equivalent", function() {
21
- expect(j$.matchersUtil.equals(123, 123)).toBe(true);
22
- });
23
-
24
- it("fails for Numbers that are not equivalent", function() {
25
- expect(j$.matchersUtil.equals(123, 456)).toBe(false);
26
- });
27
-
28
- it("passes for Dates that are equivalent", function() {
29
- expect(j$.matchersUtil.equals(new Date("Jan 1, 1970"), new Date("Jan 1, 1970"))).toBe(true);
30
- });
31
-
32
- it("fails for Dates that are not equivalent", function() {
33
- expect(j$.matchersUtil.equals(new Date("Jan 1, 1970"), new Date("Feb 3, 1991"))).toBe(false);
34
- });
35
-
36
- it("passes for Booleans that are equivalent", function() {
37
- expect(j$.matchersUtil.equals(true, true)).toBe(true);
38
- });
39
-
40
- it("fails for Booleans that are not equivalent", function() {
41
- expect(j$.matchersUtil.equals(true, false)).toBe(false);
42
- });
43
-
44
- it("passes for RegExps that are equivalent", function() {
45
- expect(j$.matchersUtil.equals(/foo/, /foo/)).toBe(true);
46
- });
47
-
48
- it("fails for RegExps that are not equivalent", function() {
49
- expect(j$.matchersUtil.equals(/foo/, /bar/)).toBe(false);
50
- expect(j$.matchersUtil.equals(new RegExp("foo", "i"), new RegExp("foo"))).toBe(false);
51
- });
52
-
53
- it("passes for Arrays that are equivalent", function() {
54
- expect(j$.matchersUtil.equals([1, 2], [1, 2])).toBe(true);
55
- });
56
-
57
- it("fails for Arrays that are not equivalent", function() {
58
- expect(j$.matchersUtil.equals([1, 2], [1, 2, 3])).toBe(false);
59
- });
60
-
61
- it("passes for Errors that are the same type and have the same message", function() {
62
- expect(j$.matchersUtil.equals(new Error("foo"), new Error("foo"))).toBe(true);
63
- });
64
-
65
- it("fails for Errors that are the same type and have different messages", function() {
66
- expect(j$.matchersUtil.equals(new Error("foo"), new Error("bar"))).toBe(false);
67
- });
68
-
69
- it("passes for Objects that are equivalent (simple case)", function() {
70
- expect(j$.matchersUtil.equals({a: "foo"}, {a: "foo"})).toBe(true);
71
- });
72
-
73
- it("fails for Objects that are not equivalent (simple case)", function() {
74
- expect(j$.matchersUtil.equals({a: "foo"}, {a: "bar"})).toBe(false);
75
- });
76
-
77
- it("passes for Objects that are equivalent (deep case)", function() {
78
- expect(j$.matchersUtil.equals({a: "foo", b: { c: "bar"}}, {a: "foo", b: { c: "bar"}})).toBe(true);
79
- });
80
-
81
- it("fails for Objects that are not equivalent (deep case)", function() {
82
- expect(j$.matchersUtil.equals({a: "foo", b: { c: "baz"}}, {a: "foo", b: { c: "bar"}})).toBe(false);
83
- });
84
-
85
- it("passes for Objects that are equivalent (with cycles)", function() {
86
- var actual = { a: "foo" },
87
- expected = { a: "foo" };
88
-
89
- actual.b = actual;
90
- expected.b = actual;
91
-
92
- expect(j$.matchersUtil.equals(actual, expected)).toBe(true);
93
- });
94
-
95
- it("fails for Objects that are not equivalent (with cycles)", function() {
96
- var actual = { a: "foo" },
97
- expected = { a: "bar" };
98
-
99
- actual.b = actual;
100
- expected.b = actual;
101
-
102
- expect(j$.matchersUtil.equals(actual, expected)).toBe(false);
103
- });
104
-
105
- it("fails when comparing an empty object to an empty array (issue #114)", function() {
106
- var emptyObject = {},
107
- emptyArray = [];
108
-
109
- expect(j$.matchersUtil.equals(emptyObject, emptyArray)).toBe(false);
110
- expect(j$.matchersUtil.equals(emptyArray, emptyObject)).toBe(false);
111
- });
112
-
113
- it("passes for equivalent frozen objects (GitHub issue #266)", function() {
114
- if (jasmine.getEnv().ieVersion < 9) { return; }
115
-
116
- var a = { foo: 1 },
117
- b = {foo: 1 };
118
-
119
- Object.freeze(a);
120
- Object.freeze(b);
121
-
122
- expect(j$.matchersUtil.equals(a,b)).toBe(true);
123
- });
124
-
125
- it("passes when Any is used", function() {
126
- var number = 3,
127
- anyNumber = new j$.Any(Number);
128
-
129
- expect(j$.matchersUtil.equals(number, anyNumber)).toBe(true);
130
- expect(j$.matchersUtil.equals(anyNumber, number)).toBe(true);
131
- });
132
-
133
- it("fails when Any is compared to something unexpected", function() {
134
- var number = 3,
135
- anyString = new j$.Any(String);
136
-
137
- expect(j$.matchersUtil.equals(number, anyString)).toBe(false);
138
- expect(j$.matchersUtil.equals(anyString, number)).toBe(false);
139
- });
140
-
141
- it("passes when ObjectContaining is used", function() {
142
- var obj = {
143
- foo: 3,
144
- bar: 7
145
- };
146
-
147
- expect(j$.matchersUtil.equals(obj, new j$.ObjectContaining({foo: 3}))).toBe(true);
148
- });
149
-
150
- it("passes when a custom equality matcher returns true", function() {
151
- var tester = function(a, b) { return true; };
152
-
153
- expect(j$.matchersUtil.equals(1, 2, [tester])).toBe(true);
154
- });
155
-
156
- it("passes for two empty Objects", function () {
157
- expect(j$.matchersUtil.equals({}, {})).toBe(true);
158
- });
159
-
160
- describe("when a custom equality matcher is installed that returns 'undefined'", function () {
161
- var tester = function(a, b) { return jasmine.undefined; };
162
-
163
- it("passes for two empty Objects", function () {
164
- expect(j$.matchersUtil.equals({}, {}, [tester])).toBe(true);
165
- });
166
- });
167
-
168
- it("fails for equivalents when a custom equality matcher returns false", function() {
169
- var tester = function(a, b) { return false; };
170
-
171
- expect(j$.matchersUtil.equals(1, 1, [tester])).toBe(false);
172
- });
173
- });
174
-
175
- describe("contains", function() {
176
- it("passes when expected is a substring of actual", function() {
177
- expect(j$.matchersUtil.contains("ABC", "B")).toBe(true);
178
- });
179
-
180
- it("fails when expected is a not substring of actual", function() {
181
- expect(j$.matchersUtil.contains("ABC", "X")).toBe(false);
182
- });
183
-
184
- it("passes when expected is an element in an actual array", function() {
185
- expect(j$.matchersUtil.contains(['foo', 'bar'], 'foo')).toBe(true);
186
- });
187
-
188
- it("fails when expected is not an element in an actual array", function() {
189
- expect(j$.matchersUtil.contains(['foo', 'bar'], 'baz')).toBe(false);
190
- });
191
-
192
- it("passes with mixed-element arrays", function() {
193
- expect(j$.matchersUtil.contains(["foo", {some: "bar"}], "foo")).toBe(true);
194
- expect(j$.matchersUtil.contains(["foo", {some: "bar"}], {some: "bar"})).toBe(true);
195
- });
196
-
197
- it("uses custom equality testers if passed in and actual is an Array", function() {
198
- var customTester = function(a, b) {return true;};
199
-
200
- expect(j$.matchersUtil.contains([1, 2], 2, [customTester])).toBe(true);
201
- });
202
-
203
- it("fails when actual is undefined", function() {
204
- expect(j$.matchersUtil.contains(undefined, 'A')).toBe(false);
205
- });
206
-
207
- it("fails when actual is null", function() {
208
- expect(j$.matchersUtil.contains(null, 'A')).toBe(false);
209
- });
210
- });
211
-
212
- describe("buildMessage", function() {
213
-
214
- it("builds an English sentence for a failure case", function() {
215
- var actual = "foo",
216
- name = "toBar",
217
- message = j$.matchersUtil.buildFailureMessage(name, false, actual);
218
-
219
- expect(message).toEqual("Expected 'foo' to bar.");
220
- });
221
-
222
- it("builds an English sentence for a 'not' failure case", function() {
223
- var actual = "foo",
224
- name = "toBar",
225
- isNot = true,
226
- message = message = j$.matchersUtil.buildFailureMessage(name, isNot, actual);
227
-
228
- expect(message).toEqual("Expected 'foo' not to bar.");
229
- });
230
-
231
- it("builds an English sentence for an arbitrary array of expected arguments", function() {
232
- var actual = "foo",
233
- name = "toBar",
234
- message = j$.matchersUtil.buildFailureMessage(name, false, actual, "quux", "corge");
235
-
236
- expect(message).toEqual("Expected 'foo' to bar 'quux', 'corge'.");
237
- });
238
- });
239
- });
@@ -1,51 +0,0 @@
1
- describe("toBeCloseTo", function() {
2
- it("passes when within two decimal places by default", function() {
3
- var matcher = j$.matchers.toBeCloseTo(),
4
- result;
5
-
6
- result = matcher.compare(0, 0);
7
- expect(result.pass).toBe(true);
8
-
9
- result = matcher.compare(0, 0.001);
10
- expect(result.pass).toBe(true);
11
- });
12
-
13
- it("fails when not within two decimal places by default", function() {
14
- var matcher = j$.matchers.toBeCloseTo(),
15
- result;
16
-
17
- result = matcher.compare(0, 0.01);
18
- expect(result.pass).toBe(false);
19
- });
20
-
21
- it("accepts an optional precision argument", function() {
22
- var matcher = j$.matchers.toBeCloseTo(),
23
- result;
24
-
25
- result = matcher.compare(0, 0.1, 0);
26
- expect(result.pass).toBe(true);
27
-
28
- result = matcher.compare(0, 0.0001, 3);
29
- expect(result.pass).toBe(true);
30
- });
31
-
32
- it("rounds expected values", function() {
33
- var matcher = j$.matchers.toBeCloseTo(),
34
- result;
35
-
36
- result = matcher.compare(1.23, 1.229);
37
- expect(result.pass).toBe(true);
38
-
39
- result = matcher.compare(1.23, 1.226);
40
- expect(result.pass).toBe(true);
41
-
42
- result = matcher.compare(1.23, 1.225);
43
- expect(result.pass).toBe(true);
44
-
45
- result = matcher.compare(1.23, 1.2249999);
46
- expect(result.pass).toBe(false);
47
-
48
- result = matcher.compare(1.23, 1.234);
49
- expect(result.pass).toBe(true);
50
- });
51
- });
@@ -1,18 +0,0 @@
1
- describe("toBeDefined", function() {
2
- it("matches for defined values", function() {
3
- var matcher = j$.matchers.toBeDefined(),
4
- result;
5
-
6
-
7
- result = matcher.compare('foo');
8
- expect(result.pass).toBe(true);
9
- });
10
-
11
- it("fails when matching undefined values", function() {
12
- var matcher = j$.matchers.toBeDefined(),
13
- result;
14
-
15
- result = matcher.compare(void 0);
16
- expect(result.pass).toBe(false);
17
- })
18
- });
@@ -1,38 +0,0 @@
1
- describe("toBeFalsy", function() {
2
- it("passes for 'falsy' values", function() {
3
- var matcher = j$.matchers.toBeFalsy(),
4
- result;
5
-
6
- result = matcher.compare(false);
7
- expect(result.pass).toBe(true);
8
-
9
- result = matcher.compare(0);
10
- expect(result.pass).toBe(true);
11
-
12
- result = matcher.compare('');
13
- expect(result.pass).toBe(true);
14
-
15
- result = matcher.compare(null);
16
- expect(result.pass).toBe(true);
17
-
18
- result = matcher.compare(void 0);
19
- expect(result.pass).toBe(true);
20
- });
21
-
22
- it("fails for 'truthy' values", function() {
23
- var matcher = j$.matchers.toBeFalsy(),
24
- result;
25
-
26
- result = matcher.compare(true);
27
- expect(result.pass).toBe(false);
28
-
29
- result = matcher.compare(1);
30
- expect(result.pass).toBe(false);
31
-
32
- result = matcher.compare("foo");
33
- expect(result.pass).toBe(false);
34
-
35
- result = matcher.compare({});
36
- expect(result.pass).toBe(false);
37
- });
38
- });
@@ -1,20 +0,0 @@
1
- describe("toBeGreaterThan", function() {
2
- it("passes when actual > expected", function() {
3
- var matcher = j$.matchers.toBeGreaterThan(),
4
- result;
5
-
6
- result = matcher.compare(2, 1);
7
- expect(result.pass).toBe(true);
8
- });
9
-
10
- it("fails when actual <= expected", function() {
11
- var matcher = j$.matchers.toBeGreaterThan(),
12
- result;
13
-
14
- result = matcher.compare(1, 1);
15
- expect(result.pass).toBe(false);
16
-
17
- result = matcher.compare(1, 2);
18
- expect(result.pass).toBe(false);
19
- });
20
- });
@@ -1,20 +0,0 @@
1
- describe("toBeLessThan", function() {
2
- it("passes when actual < expected", function() {
3
- var matcher = j$.matchers.toBeLessThan(),
4
- result;
5
-
6
- result = matcher.compare(1, 2);
7
- expect(result.pass).toBe(true);
8
- });
9
-
10
- it("fails when actual <= expected", function() {
11
- var matcher = j$.matchers.toBeLessThan(),
12
- result;
13
-
14
- result = matcher.compare(1, 1);
15
- expect(result.pass).toBe(false);
16
-
17
- result = matcher.compare(2, 1);
18
- expect(result.pass).toBe(false);
19
- });
20
- });