Henne Vogelsang
85149dc837
Drop Organization from specs
2024-06-07 17:42:08 +02:00
Andrew Kvalheim
e30880229c
Use be_successful instead of be_success
...
Rails 5.2 warns:
> The `success?` predicate is deprecated and will be removed in Rails 6.0.
> Please use `successful?` as provided by Rack::Response::Helpers.
RSpec correspondingly provides `be_successful`.
2022-01-23 14:06:02 -08:00
Ana María Martínez Gómez
d1180e2767
Use keyword arguments in tests
...
Raisl 5.1 removes support for non-keyword arguments in `#process`,
`#get`, `#post`, `#patch`, `#put`, `#delete`, and `#head` for the
`ActionDispatch::IntegrationTest` and `ActionController::TestCase`
classes. This means we have to add `params` everywhere in the controller
tests.
2019-05-14 14:10:36 +02:00
cyrille
35ec178beb
Create a factory for organizer
...
Refactor organizer user creation in tests
Fixes https://github.com/openSUSE/osem/issues/2398
2019-03-18 23:16:15 +01:00
James Mason
516e53d9df
Use chartkick globally
...
* Clean up legacy charting imports
* Update existing donut and line charts
* Create helpers for parsing out existing chart data
* Move chart partials to a more common path
2018-12-30 16:57:22 -08:00
James Mason
43bef689fc
Rubocop autocorrections
2018-11-16 09:06:05 -08:00
James Mason
6d31dfeef4
Add frozen_string_literal magic comment
...
re: https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Style/FrozenStringLiteralComment
2018-05-09 06:54:26 -07:00
Michael Klimenko
30ba7b133b
Roles order fixed in test is not essential
2018-03-28 08:32:45 -07:00
Michael Klimenko
297447d802
Make factories and tests timezone-friendly
2018-03-28 08:32:45 -07:00
Carlos Coelho
637f6ce765
Add tests for conference withdrawn events
2018-02-19 01:02:30 +02:00
Sidharth
93fcf8893a
Fix Style/UnneededInterpolation
...
Exclusions from .rubocop_todo.yml deleted.
This cop checks for string interpolated expressions. It supports autocorrection.
Fixes #1823
2017-12-04 23:45:37 +05:30
shlok007
8839a928ed
mending failing tests
2017-06-28 06:55:30 +05:30
shlok007
ad3d6f2f95
modify admin/conference_controller_spec and not authorized error messages
2017-06-28 06:55:30 +05:30
AEtherC0r3
a1124546f1
Fix rspec tests because of the changes to the cfp
...
Remove redundant association
Note: a conference created with :full_conference already has a cfp
2017-06-27 21:16:46 +03:00
Sunny
03fa299058
enable style/dotposition rubocop cop
2017-04-06 23:19:58 -04:00
richiethomas
daf1f805bd
Rename 'ConferenceController' to 'ConferencesController', and 'ProposalController' to 'ProposalsController'
2016-09-30 18:49:44 -04:00
Henne Vogelsang
73ce49de25
Use dynamic fake data in the spec
2016-05-02 16:06:32 +02:00
Nishanth Vijayan
1c1e56ed46
Change update/save failures to use flash type :error instead of :alert
2016-03-16 11:20:56 +05:30
Aditya Prakash
d2b392e119
Remove assumption from test that first user is admin
2016-03-14 17:29:35 +05:30
Stella
ccd7ecbb90
Roles into their own controller. Rework interface. Add flash messages to ajax calls. Add description to roles. Possible to edit roles in use.
2016-03-01 17:10:45 +02:00
Stella Rouzi
444356fbc7
Introduce Program to include cfp/rooms/tracks/events/event_types/difficulty_levels
2016-02-06 17:42:51 +01:00
Stella
6e026746a9
validate cfp start_date before end_date and end_date before conference.end_date
2014-11-29 20:00:26 +02:00
Henne Vogelsang
28063129c7
Implement consistent admin interface
...
* Consistent route/model/controller/view layout
* Get rid of unused photos, speakers, dietchoices, social_events controllers
* Drop unused :public from Rooms and :description from CallForPapers
2014-11-25 10:47:18 +01:00
Chrisbr
ed55e2bf3a
Introduces new RegistrationPeriod Object for Conference
...
#416
2014-08-18 14:33:02 +02:00
Stella Rouzi
88f613ef8c
Add controller tests for roles
2014-08-15 11:37:11 +03:00
Stella Rouzi
f7ef401be7
style fixes
2014-08-13 22:53:14 +03:00
Stella Rouzi
71dfb3b7e4
fix conflicts
2014-08-13 22:53:13 +03:00
Stella Rouzi
e2fb434dc7
Implement role authorization
2014-08-13 22:53:13 +03:00
Artem Chernikov
f8784fdcd8
rubocop style fix Style/AlignParameters
2014-07-30 23:32:29 +02:00
Artem Chernikov
cb810e58ce
Style/AlignHash fix
2014-07-30 23:29:52 +02:00
Gopesh Tulsyan
8acf3c088a
Added test for email notification on conference dates and registration dates updates
2014-07-15 16:26:06 +05:30
KalabiYau
dbb210908b
Update and fix test kitchet to be conformant with poltergeist
2014-07-07 15:06:43 +02:00
Stella Rouzi
e86b71f1d5
change test for render instead of redirect
2014-06-13 16:27:51 +03:00
Gopesh Tulsyan
f84f3b97a7
some basic tests for admin/users controller, fixed bug in admin/users controller for displaying users
...
Fixes by hounci violations
2014-06-02 18:22:55 +05:30