Rishabh Saxena
f00e051eff
refactor payment#purchase method, improve environment variable names
2016-07-21 10:15:17 +05:30
Rishabh Saxena
c4d934d711
refactor payment model and its tests
2016-07-19 12:40:16 +05:30
Rishabh Saxena
25c0046290
repair code reviews, improve environment configs
2016-07-18 12:04:10 +05:30
Rishabh Saxena
223a0eead9
delete unused methods, add feature tests
2016-07-15 02:46:31 +05:30
Rishabh Saxena
3b4c7d70c0
remove card_types from helpers
2016-07-14 22:20:31 +05:30
Rishabh Saxena
9b704e483e
modify tests
2016-07-14 19:09:39 +05:30
Rishabh Saxena
a3d709bc75
add helper tests
2016-07-14 19:08:28 +05:30
Rishabh Saxena
07c9aee7cc
remove 'paid' argument in testing function calls
2016-07-11 23:34:02 +05:30
Rishabh Saxena
888c7a8524
use short-form presence validator.
...
use two-argument form.
add unpaid scope.
repair tests.
2016-07-11 23:34:02 +05:30
Rishabh Saxena
893f517ab0
pass paid value as hash, improve code reviews
2016-07-11 23:34:01 +05:30
Rishabh Saxena
8b03f1be74
check for other tests
2016-07-11 23:34:01 +05:30
Rishabh Saxena
df4b015c09
replace submit form capybara
2016-07-11 23:34:01 +05:30
Rishabh Saxena
e31ca46f87
submit form directly in tests
2016-07-11 23:34:01 +05:30
Rishabh Saxena
2e66e5807a
check path transition after payment
2016-07-11 23:34:01 +05:30
Rishabh Saxena
58a240a9f2
add tests and repair button click
2016-07-11 23:34:01 +05:30
Rishabh Saxena
99b4d18729
check failing tests
2016-07-11 23:34:01 +05:30
Rishabh Saxena
5b8e7ade2f
use select instead of fill_in capybara
2016-07-11 23:34:01 +05:30
Rishabh Saxena
1af6fa5ad1
add id to inputs and repair tests
2016-07-11 23:34:01 +05:30
Rishabh Saxena
c57a8a1d00
repair tests and move method belonging to controller
2016-07-11 23:34:00 +05:30
Rishabh Saxena
38ae24c6b3
add more tests
2016-07-11 23:34:00 +05:30
Rishabh Saxena
ee71456060
improve tests[WIP]
2016-07-11 23:34:00 +05:30
Christian Bruckmayer
28f0973fc4
Merge pull request #1079 from Ana06/suggest_track_color
...
Different colors for new tracks, types and levels
2016-07-11 15:10:26 +02:00
Ana
8d9bb56f06
Hexadecimal color changed to capital letters
...
The default colors in event_types and difficulty levels are in capital letters and the ones that comes from the color picker were not. Now colors are capitalized before saving the track, level or type. A rake task has also been created to capitalize color from old tracks, levels or types.
2016-07-11 13:46:02 +02:00
Ana
0deaf1abc7
Different colors for new tracks, types and levels
...
Every time a new track, event type or difficulty level is created, the color picker has a different color by default.
Closes https://github.com/openSUSE/osem/issues/1077
2016-07-11 13:46:01 +02:00
Arun Kumar
0675572e05
Modify conference registration to a singular resource
2016-07-05 01:15:32 +05:30
Stella Rouzi
15076b11f1
XML export fix tests. Add not nil room for scheduled events.
2016-06-20 21:05:08 +03:00
Henne Vogelsang
b1b8703753
Merge pull request #1038 from differentreality/xml_export
...
XML export
2016-06-20 15:01:12 +02:00
Stella Rouzi
8a595e6284
add test
2016-06-15 20:54:51 +03:00
Rishabh Saxena
c802bd95b9
change datepicker id to place correct constraints
2016-06-15 20:48:55 +05:30
Henne Vogelsang
dcae196d2b
Merge pull request #905 from Ana06/languages
...
Languages
2016-06-15 16:55:12 +02:00
Ana
6c87995050
Configure language of events
2016-06-03 14:09:37 +02:00
Ana
74e889a046
length test in EventType fixed
2016-06-01 13:09:45 +02:00
Ana
55c41810b2
Limit event types lenght
2016-05-31 16:51:12 +02:00
Ana
f648b8731a
Wrong test: proposal cannot be rated
2016-05-27 00:45:42 +02:00
Henne Vogelsang
81ddb76c24
Merge pull request #994 from differentreality/allow_nil_max_attendees
...
allow max_attendees to be nil
2016-05-19 12:03:43 +02:00
Henne Vogelsang
6a127a29a3
Merge pull request #1001 from ChrisBr/ability
...
Fixes ability
2016-05-19 12:01:31 +02:00
Christian Bruckmayer
406e37a1d8
Adapt ability to allow proposal creation if cfp is open
...
This was not possible before when iChain was enabled.
- Initialize @event object now with load_and_autorize before filter
- Remove not necessary event_users initilization in :new action
- Adapt ability and feature tests
2016-05-19 11:47:41 +02:00
Nishanth Vijayan
09b6e06a8c
Fix ability model spec
...
Cancancan does not support testing multiple permissions in one be_able_to clause
Replace all occurrences of such examples with separate examples for each permission
2016-05-15 21:18:19 +05:30
Stella Rouzi
528243c8b9
Allow max_attendees to be nil
2016-05-15 14:01:36 +03:00
Henne Vogelsang
084ee7ef43
Give a bit more demo info in the conference description
2016-05-03 16:25:39 +02:00
Henne Vogelsang
5b20c992ae
Let activerecord handle the picture upload in factories
2016-05-03 16:25:39 +02:00
Henne Vogelsang
4c4918a7a7
Somehow the :venues factory creates a dangling Conference
...
disabling for now
2016-05-03 16:25:39 +02:00
Henne Vogelsang
45bd31fad0
Escape HTML some factory strings
2016-05-03 16:25:07 +02:00
Henne Vogelsang
8fa92b72d1
HTML escape Faker::Hipster.paragraph
2016-05-02 16:06:32 +02:00
Henne Vogelsang
40562334c7
Make rubocop happy again
2016-05-02 16:06:32 +02:00
Henne Vogelsang
73ce49de25
Use dynamic fake data in the spec
2016-05-02 16:06:32 +02:00
Henne Vogelsang
1c7becb69a
use :full_conference factory in the conference view specs
2016-05-02 16:06:32 +02:00
Henne Vogelsang
dd5796bd34
Fix saving feature failures to tmp/capybara
2016-05-02 16:06:32 +02:00
Henne Vogelsang
77e0340387
Make use of fake data in factories
2016-05-02 16:06:27 +02:00
Henne Vogelsang
bd36ce0fb2
Switch logic for linting factories
...
Only if you set the environment variable OSEM_FACTORY_LINT
to 'false' it won't lint.
2016-04-29 16:36:47 +02:00