175 Commits

Author SHA1 Message Date
6172230c07 rubocop 2015-02-07 23:58:06 +01:00
e32d385870 tests 2015-02-07 23:36:23 +01:00
bb70f79814 member: remove orphaned users after destroy last membership 2014-12-16 20:27:49 +01:00
e91c9bdad6 Error shown now when trying to create a new user with an existing email address 2014-12-04 10:30:10 +01:00
f414460bf9 fake user email is created if blank email is provided. Fixed regex to make sure a valid email address is entered. User creation errors are properly showing in view 2014-12-03 02:22:20 +01:00
dc41c02680 Added email validation format for user and related test. Relax format to allow dummy @example.com but at least having at signa and domain 2014-12-01 22:44:37 +01:00
7c2c4ce1ea Merge remote-tracking branch 'origin/master' into localized_static_pages
* origin/master:
  Corrections from catalan translators
  added another company and normal users to seeds.db
  fixed users_controller tests. Still pending corrections on global_controller

Conflicts:
	spec/controllers/global_controller_spec.rb
2014-11-30 21:33:30 +01:00
71b04a479d fixed users_controller tests. Still pending corrections on global_controller 2014-11-30 10:55:41 +01:00
d17c1c0328 No need for all thse hard-coded rediects 2014-11-30 05:09:51 +01:00
edcd081f2b Provide correct integration from front-page and I18n.
That is, just set the local and redirect back to where
you were.
2014-11-30 05:04:08 +01:00
9ea32a5803 Added tests for users, some still failing 2014-11-16 17:35:03 +01:00
eeac23d969 Added tests for offers 2014-11-16 16:49:51 +01:00
23e27c6c02 All tests are successful again 2014-11-16 16:39:13 +01:00
69317fc642 Added rspec tests using capybara 2014-11-16 15:13:16 +01:00
31efb0a072 fixed issue setting up right language 2014-11-16 12:44:10 +01:00
30700adced fixed comments on tests 2014-11-16 12:08:08 +01:00
e2b4a4588c Created rspec tests for global controller and fixed two defects 2014-11-16 12:03:41 +01:00
4887c437dc Let user choose language 2014-11-14 09:48:51 +01:00
752747fad7 No failures now running tests for inquiries controller. Organization was missing when fabricating inquiry 2014-10-18 13:57:51 +02:00
6e09519ef0 using angular for typeahead. working with fixed array but not with asyncSelected 2014-10-07 03:21:53 +02:00
375d01718c Redirect to the destination user.
See https://redbooth.com/a/#!/projects/638099/tasks/13502507

Thanks @danielmacho72
2014-09-29 23:28:15 +02:00
45af911164 Factored out login(user) from tests. 2014-09-29 22:42:13 +02:00
cbc1d5386d New tests for inquiries_controller. 2013-11-12 19:30:30 +01:00
60a85a6c8d New tests for transfers_controller. New spec for inquiries_controller. New fabricators. 2013-11-07 19:44:57 +01:00
db3e6394f3 New spec for TransfersController. 2013-11-06 21:19:44 +01:00