- 28 6月, 2017 1 次提交
-
-
由 Timothy Andrew 提交于
- Declaring an endpoint's scopes in a `before` block has proved to be unreliable. For example, if we're accessing the `API::Users` endpoint - code in a `before` block in `API::API` wouldn't be able to see the scopes set in `API::Users` since the `API::API` `before` block runs first. - This commit moves these declarations to the class level, since they don't need to change once set.
-
- 14 3月, 2017 1 次提交
-
-
由 Rémy Coutable 提交于
This is not a good idea to memoize `json_response` using an instance variable because `rspec-retry` doesn't clear instance variables on retries, only `let` variables. This will avoid issues where retries would fail on a different line that the original failure, blurrying what's the real failure. Also, automatically add api: true to specs under /spec/requests/(ci/)?api/, and include JsonHelpers in controller, request and API specs. Signed-off-by: NRémy Coutable <remy@rymai.me>
-
- 31 1月, 2017 1 次提交
-
-
由 Oswaldo Ferreira 提交于
-
- 13 1月, 2017 2 次提交
-
-
由 Sean McGivern 提交于
This is less invasive than the parent commit.
-
由 Sean McGivern 提交于
Ruby 2.3: ``` URI.parse('http://foo/bar?baz quux') => #<URI::HTTP http://foo/bar?baz%20quux> ``` Ruby 2.1: ``` URI.parse('http://foo/bar?baz quux') URI::InvalidURIError: bad URI(is not URI?): http://foo/bar?baz quux ```
-
- 20 7月, 2016 1 次提交
-
-
由 Grzegorz Bizon 提交于
Avoid multi-line ?: (the ternary operator). Use if/unless instead. See #17478
-
- 14 9月, 2015 1 次提交
-
-
由 Valery Sizov 提交于
-
- 10 6月, 2015 1 次提交
-
-
由 Robert Speicher 提交于
This might see a minor speedup in test cases that call this method many times.
-
- 14 5月, 2013 1 次提交
-
-
由 Dmitriy Zaporozhets 提交于
-
- 01 12月, 2012 1 次提交
-
-
由 Nihad Abbasov 提交于
* fixed in grape v0.2.2
-
- 03 9月, 2012 1 次提交
-
-
由 Sytse Sijbrandij 提交于
Merge branch 'master' into non-interactive-aws-install Conflicts: doc/installation.md Fix merge mess in installation.md
-
- 26 8月, 2012 2 次提交
-
-
由 Robert Speicher 提交于
See docs for usage
-
由 Robert Speicher 提交于
Changes: * Move spec/monkeypatch to spec/support * Remove unused support/shared_examples * Move support/api to support/api_helpers to match module name * Move support/login to support/login_helpers to match module name * Move API specs to requests/api (convention over configuration) * Remove unused support/js_patch * Simplify login_as helper * Move DatabaseCleaner stuff to its own support file * Remove unnecessary configuration and requires from spec_helper
-