08 Jun, 2015
1 commit
-
Generally rails will deal with this, but since we are already on a rescue it will not handle to avoid an infinite loop. So we need to deal with the error.
22 May, 2015
1 commit
-
Signed off by: Heitor Reis <marcheing@gmail.com>
27 Apr, 2015
1 commit
-
Error handling for finding resources in controllers used a find_resource method. It was broken and was letting code pass-through after errors. In addition, cases for find methods for things other than simple IDs weren't handled. Replace it with an error handler in ApplicationController capturing RecordNotFound exceptions and returning the appropriate error pages (or JSON). Also, fix usages of find that should throw errors (using ActiveRecord methods ending with !) but didn't. Correspondly, fix all the tests that mocked the find_resource method, and correct expectations where needed. Signed-off-by: Daniel Miranda <danielkza2@gmail.com>
26 Feb, 2015
2 commits
-
* Unit tests pass * Missing acceptance tests * The models were kept so the migrations works Still has to filter the project list by not hidden.
12 Feb, 2015
5 commits
-
Repository metric results waiting for kalibro configurations integration Signed off by: Daniel Paulino Alves <danpaulalves@gmail.com>
-
Also refactored Project's factory Signed off by: Daniel Alves <danpaulalves@gmail.com>
10 Dec, 2014
1 commit
19 Nov, 2014
2 commits
07 Aug, 2014
1 commit
05 Jun, 2014
1 commit
-
This conversion is done by Transpec 2.2.1 with the following command: transpec * 258 conversions from: it { should ... } to: it { is_expected.to ... } * 82 conversions from: obj.should to: expect(obj).to * 16 conversions from: describe 'some model' { } to: describe 'some model', :type => :model { } * 12 conversions from: describe 'some controller' { } to: describe 'some controller', :type => :controller { } * 11 conversions from: describe 'some routing' { } to: describe 'some routing', :type => :routing { } * 8 conversions from: describe 'some helper' { } to: describe 'some helper', :type => :helper { } * 7 conversions from: be_false to: be_falsey * 6 conversions from: be_true to: be_truthy * 6 conversions from: it { should_not ... } to: it { is_expected.not_to ... } * 4 conversions from: obj.should_not to: expect(obj).not_to For more details: https://github.com/yujinakayama/transpec#supported-conversions Signed off by: Rafael Reggiani Manzo <rr.manzo@gmail.com>
31 Oct, 2013
1 commit
23 Oct, 2013
2 commits
-
Signed-off-by: Diego Araújo <diegoamc90@gmail.com>
05 Sep, 2013
1 commit
-
before_action branch cverage
04 Sep, 2013
4 commits
-
Regarding to ownership
03 Sep, 2013
3 commits
-
PS: the tests isn't covering ownership verification in Controller.
-
Projects helper and destroy link is not shown anymore if the user is not the owner
21 Aug, 2013
5 commits
-
In order to get acceptance test running, poltergeist has been installed.
01 Aug, 2013
1 commit
31 Jul, 2013
1 commit