open_conference_ware 1.0.0.pre1 → 1.0.0.pre2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. data.tar.gz.sig +0 -0
  2. data/.gitignore +1 -0
  3. data/.travis.yml +0 -1
  4. data/CHANGES.md +27 -0
  5. data/{CONTRIBUTORS.markdown → CONTRIBUTORS.md} +0 -0
  6. data/Gemfile +2 -0
  7. data/{README.markdown → README.md} +32 -16
  8. data/app/assets/javascripts/open_conference_ware/base.js +0 -1
  9. data/app/assets/stylesheets/open_conference_ware/common.css.scss +6 -6
  10. data/app/assets/stylesheets/open_conference_ware/scaffold.css +0 -1
  11. data/app/controllers/open_conference_ware/proposals_controller.rb +4 -4
  12. data/app/helpers/open_conference_ware/application_helper.rb +1 -1
  13. data/app/helpers/open_conference_ware/time_range_helper.rb +1 -1
  14. data/app/helpers/open_conference_ware/tracks_helper.rb +1 -1
  15. data/app/mixins/open_conference_ware/faux_routes_mixin.rb +1 -1
  16. data/app/models/open_conference_ware/event.rb +6 -6
  17. data/app/models/open_conference_ware/proposal.rb +5 -5
  18. data/app/models/open_conference_ware/track.rb +1 -1
  19. data/app/views/open_conference_ware/_email_link.html.erb +1 -1
  20. data/app/views/open_conference_ware/authentications/_persona.html.erb +1 -1
  21. data/app/views/open_conference_ware/manage/events/_form.html.erb +3 -3
  22. data/app/views/open_conference_ware/manage/events/proposals.html.erb +1 -1
  23. data/app/views/open_conference_ware/manage/events/show.html.erb +3 -3
  24. data/app/views/open_conference_ware/proposals/_manage_speakers.html.erb +1 -1
  25. data/app/views/open_conference_ware/proposals/_schedule_control.html.erb +3 -3
  26. data/app/views/open_conference_ware/proposals/schedule.html.erb +3 -3
  27. data/app/views/open_conference_ware/proposals/show.html.erb +2 -2
  28. data/app/views/open_conference_ware/proposals/stats.html.erb +1 -1
  29. data/app/views/open_conference_ware/session_types/index.html.erb +1 -1
  30. data/app/views/open_conference_ware/tracks/index.html.erb +1 -1
  31. data/app/views/open_conference_ware/users/_block.html.erb +2 -2
  32. data/app/views/open_conference_ware/users/index.html.erb +1 -1
  33. data/lib/generators/open_conference_ware/install/templates/config_initializer.rb +3 -3
  34. data/lib/generators/open_conference_ware/install/templates/omniauth_initializer.rb +0 -1
  35. data/lib/generators/open_conference_ware/views/views_generator.rb +44 -0
  36. data/lib/open_conference_ware.rb +1 -1
  37. data/lib/open_conference_ware/dependencies.rb +0 -1
  38. data/lib/open_conference_ware/version.rb +1 -1
  39. data/lib/tasks/mediawiki.rake +2 -2
  40. data/lib/tasks/open_conference_ware_tasks.rake +0 -1
  41. data/lib/tasks/snippets.rake +1 -1
  42. data/open_conference_ware.gemspec +26 -28
  43. data/spec/controllers/open_conference_ware/application_controller_spec.rb +2 -2
  44. data/spec/controllers/open_conference_ware/events_controller_spec.rb +0 -1
  45. data/spec/controllers/open_conference_ware/proposals_controller_spec.rb +5 -5
  46. data/spec/controllers/open_conference_ware/rooms_controller_spec.rb +15 -15
  47. data/spec/controllers/open_conference_ware/session_types_controller_spec.rb +15 -15
  48. data/spec/controllers/open_conference_ware/sessions_routing_spec.rb +1 -1
  49. data/spec/controllers/open_conference_ware/tracks_controller_spec.rb +16 -16
  50. data/spec/dummy/config/initializers/01_open_conference_ware.rb +3 -3
  51. data/spec/fixtures/open_conference_ware_proposals.yml +10 -10
  52. data/spec/fixtures/open_conference_ware_schedule_items.yml +1 -1
  53. data/spec/fixtures/open_conference_ware_tracks.yml +3 -3
  54. data/spec/helpers/open_conference_ware/proposals_helper_spec.rb +1 -1
  55. data/spec/helpers/open_conference_ware/session_types_helper_spec.rb +2 -2
  56. data/spec/helpers/open_conference_ware/time_range_helper_spec.rb +4 -4
  57. data/spec/helpers/open_conference_ware/tracks_helper_spec.rb +2 -2
  58. data/spec/models/open_conference_ware/proposal_spec.rb +2 -2
  59. data/spec/spec_helper.rb +14 -6
  60. data/spec/support/add_all_helpers_to_view.rb +1 -1
  61. data/spec/support/fixture_shortcuts.rb +2 -3
  62. data/spec/views/open_conference_ware/proposals/_room_control.html.erb_spec.rb +0 -1
  63. data/spec/views/open_conference_ware/proposals/show.html.erb_spec.rb +6 -7
  64. data/spec/views/open_conference_ware/rooms/index.html.erb_spec.rb +0 -1
  65. data/spec/views/open_conference_ware/rooms/show.html.erb_spec.rb +0 -1
  66. data/spec/views/open_conference_ware/session_types/edit.html.erb_spec.rb +2 -4
  67. data/spec/views/open_conference_ware/session_types/index.html.erb_spec.rb +1 -2
  68. data/spec/views/open_conference_ware/session_types/new.html.erb_spec.rb +2 -4
  69. data/spec/views/open_conference_ware/session_types/show.html.erb_spec.rb +0 -1
  70. data/spec/views/open_conference_ware/tracks/edit.html.erb_spec.rb +2 -4
  71. data/spec/views/open_conference_ware/tracks/index.html.erb_spec.rb +1 -2
  72. data/spec/views/open_conference_ware/tracks/new.html.erb_spec.rb +2 -4
  73. data/spec/views/open_conference_ware/tracks/show.html.erb_spec.rb +0 -1
  74. data/spec/views/open_conference_ware/user_favorites/index.html.erb_spec.rb +0 -1
  75. metadata +98 -131
  76. metadata.gz.sig +0 -0
  77. data/Gemfile.lock +0 -296
  78. data/app/views/open_conference_ware/welcome/test.html.haml +0 -8
@@ -9,7 +9,7 @@ describe OpenConferenceWare::SessionTypesController do
9
9
  @event = stub_current_event!(event: events(:open))
10
10
  @session_type = create(:session_type, event: @event)
11
11
  end
12
-
12
+
13
13
  describe "responding to GET index" do
14
14
 
15
15
  it "should redirect to the session types for the current event if none is given" do
@@ -32,7 +32,7 @@ describe OpenConferenceWare::SessionTypesController do
32
32
  response.body.should == "generated XML"
33
33
  end
34
34
  end
35
-
35
+
36
36
  end
37
37
 
38
38
  describe "responding to GET show" do
@@ -42,7 +42,7 @@ describe OpenConferenceWare::SessionTypesController do
42
42
  get :show, id: "37", event_id: @event.to_param
43
43
  assigns(:session_type).should equal(@session_type)
44
44
  end
45
-
45
+
46
46
  describe "with mime type of xml" do
47
47
 
48
48
  it "should render the requested session_type as xml" do
@@ -54,7 +54,7 @@ describe OpenConferenceWare::SessionTypesController do
54
54
  end
55
55
 
56
56
  end
57
-
57
+
58
58
  describe "with an invalid session type id" do
59
59
  it "should redirect to the session types index" do
60
60
  SessionType.should_receive(:find).with("invalid").and_raise(ActiveRecord::RecordNotFound)
@@ -62,7 +62,7 @@ describe OpenConferenceWare::SessionTypesController do
62
62
  response.should redirect_to(event_session_types_path(events(:open)))
63
63
  end
64
64
  end
65
-
65
+
66
66
  end
67
67
 
68
68
  describe "as an admin" do
@@ -74,7 +74,7 @@ describe OpenConferenceWare::SessionTypesController do
74
74
  before do
75
75
  @new_session_type = SessionType.new
76
76
  end
77
-
77
+
78
78
  it "should expose a new session_type as @session_type" do
79
79
  SessionType.should_receive(:new).and_return(@new_session_type)
80
80
  get :new, event_id: @event.to_param
@@ -84,7 +84,7 @@ describe OpenConferenceWare::SessionTypesController do
84
84
  end
85
85
 
86
86
  describe "responding to GET edit" do
87
-
87
+
88
88
  it "should expose the requested session_type as @session_type" do
89
89
  SessionType.should_receive(:find).with("37").and_return(@session_type)
90
90
  get :edit, id: "37", event_id: @event.to_param
@@ -92,14 +92,14 @@ describe OpenConferenceWare::SessionTypesController do
92
92
  end
93
93
 
94
94
  end
95
-
95
+
96
96
  describe "responding to POST create" do
97
97
  describe "with valid params" do
98
98
  before do
99
99
  @valid_params = extract_valid_params(@session_type)
100
100
  post :create, session_type: @valid_params, event_id: @event.to_param
101
101
  end
102
-
102
+
103
103
  it "should expose a newly created session_type as @session_type" do
104
104
  assigns(:session_type).should be_valid
105
105
  extract_valid_params(assigns(:session_type)).should eq(@valid_params)
@@ -108,9 +108,9 @@ describe OpenConferenceWare::SessionTypesController do
108
108
  it "should redirect to the session types index" do
109
109
  response.should redirect_to(event_session_types_path(@event))
110
110
  end
111
-
111
+
112
112
  end
113
-
113
+
114
114
  describe "with invalid params" do
115
115
  before do
116
116
  post :create, session_type: {egads: 'omfg'}, event_id: @event.to_param
@@ -123,9 +123,9 @@ describe OpenConferenceWare::SessionTypesController do
123
123
  it "should re-render the 'new' template" do
124
124
  response.should render_template('new')
125
125
  end
126
-
126
+
127
127
  end
128
-
128
+
129
129
  end
130
130
 
131
131
  describe "responding to PUT update" do
@@ -147,7 +147,7 @@ describe OpenConferenceWare::SessionTypesController do
147
147
  end
148
148
 
149
149
  end
150
-
150
+
151
151
  describe "with invalid params" do
152
152
  before do
153
153
  @session_type.should_receive(:update_attributes).and_return(false)
@@ -177,7 +177,7 @@ describe OpenConferenceWare::SessionTypesController do
177
177
  @session_type.should_receive(:destroy)
178
178
  delete :destroy, id: "37", event_id: @event.to_param
179
179
  end
180
-
180
+
181
181
  it "should redirect to the session_types list" do
182
182
  SessionType.stub(:find).and_return(@session_type)
183
183
  delete :destroy, id: "1", event_id: @event.to_param
@@ -8,6 +8,6 @@ describe OpenConferenceWare::ProposalsController do
8
8
  it "should generate params { controller: 'proposals', action => 'sessions_index' } from GET /sessions" do
9
9
  {get: "/sessions"}.should route_to(controller: "open_conference_ware/proposals", action: "sessions_index")
10
10
  end
11
-
11
+
12
12
  end
13
13
  end
@@ -4,7 +4,7 @@ describe OpenConferenceWare::TracksController do
4
4
  include OpenConferenceWare::TracksHelper
5
5
  fixtures :all
6
6
  routes { OpenConferenceWare::Engine.routes }
7
-
7
+
8
8
  before do
9
9
  @event = stub_current_event!(event: events(:open))
10
10
  @controller.stub(assign_events: [])
@@ -12,7 +12,7 @@ describe OpenConferenceWare::TracksController do
12
12
  @tracks_double = double("Array of Tracks")
13
13
  @tracks_scope_double = double("Tracks Scope", order: @tracks_double)
14
14
  end
15
-
15
+
16
16
  describe "responding to GET index" do
17
17
 
18
18
  it "should redirect to the tracks for the current event if none is given" do
@@ -35,7 +35,7 @@ describe OpenConferenceWare::TracksController do
35
35
  response.body.should == "generated XML"
36
36
  end
37
37
  end
38
-
38
+
39
39
  end
40
40
 
41
41
  describe "responding to GET show" do
@@ -45,7 +45,7 @@ describe OpenConferenceWare::TracksController do
45
45
  get :show, event_id: @event.to_param, id: "37"
46
46
  assigns(:track).should equal(@track)
47
47
  end
48
-
48
+
49
49
  describe "with mime type of xml" do
50
50
 
51
51
  it "should render the requested track as xml" do
@@ -57,7 +57,7 @@ describe OpenConferenceWare::TracksController do
57
57
  end
58
58
 
59
59
  end
60
-
60
+
61
61
  describe "with an invalid track id" do
62
62
  it "should redirect to the tracks index" do
63
63
  Track.should_receive(:find).with("invalid").and_raise(ActiveRecord::RecordNotFound)
@@ -65,7 +65,7 @@ describe OpenConferenceWare::TracksController do
65
65
  response.should redirect_to(event_tracks_path(@event))
66
66
  end
67
67
  end
68
-
68
+
69
69
  end
70
70
 
71
71
  describe "as an admin" do
@@ -74,7 +74,7 @@ describe OpenConferenceWare::TracksController do
74
74
  end
75
75
 
76
76
  describe "responding to GET new" do
77
-
77
+
78
78
  it "should expose a new track as @track" do
79
79
  Track.should_receive(:new).and_return(@track)
80
80
  get :new, event_id: @event.to_param
@@ -84,7 +84,7 @@ describe OpenConferenceWare::TracksController do
84
84
  end
85
85
 
86
86
  describe "responding to GET edit" do
87
-
87
+
88
88
  it "should expose the requested track as @track" do
89
89
  Track.should_receive(:find).with("37").and_return(@track)
90
90
  get :edit, id: "37", event_id: @event.to_param
@@ -92,14 +92,14 @@ describe OpenConferenceWare::TracksController do
92
92
  end
93
93
 
94
94
  end
95
-
95
+
96
96
  describe "responding to POST create" do
97
97
  describe "with valid params" do
98
98
  before do
99
99
  @valid_params = extract_valid_params(@track)
100
100
  post :create, track: @valid_params, event_id: @event.to_param
101
101
  end
102
-
102
+
103
103
  it "should expose a newly created track as @track" do
104
104
  assigns(:track).should be_valid
105
105
  extract_valid_params(assigns(:track)).should eq(@valid_params)
@@ -108,9 +108,9 @@ describe OpenConferenceWare::TracksController do
108
108
  it "should redirect to the tracks index" do
109
109
  response.should redirect_to(event_tracks_path(@event))
110
110
  end
111
-
111
+
112
112
  end
113
-
113
+
114
114
  describe "with invalid params" do
115
115
  before do
116
116
  post :create, track: {color: 'orange'}, event_id: @event.to_param
@@ -123,9 +123,9 @@ describe OpenConferenceWare::TracksController do
123
123
  it "should re-render the 'new' template" do
124
124
  response.should render_template('new')
125
125
  end
126
-
126
+
127
127
  end
128
-
128
+
129
129
  end
130
130
 
131
131
  describe "responding to PUT update" do
@@ -147,7 +147,7 @@ describe OpenConferenceWare::TracksController do
147
147
  end
148
148
 
149
149
  end
150
-
150
+
151
151
  describe "with invalid params" do
152
152
  before do
153
153
  @track.stub(:save).and_return(false)
@@ -177,7 +177,7 @@ describe OpenConferenceWare::TracksController do
177
177
  @track.should_receive(:destroy)
178
178
  delete :destroy, id: "37", event_id: @event.to_param
179
179
  end
180
-
180
+
181
181
  it "should redirect to the tracks list" do
182
182
  Track.stub(:find).and_return(@track)
183
183
  delete :destroy, id: "1", event_id: @event.to_param
@@ -21,7 +21,7 @@ OpenConferenceWare.configure do |config|
21
21
  #
22
22
  # TODO: Setting the current event here is a short-term hack and will be replaced shortly with a Site record that tracks the current event in the database and provides a way to set it through an admin web UI.
23
23
  # config.current_event_slug = '2012'
24
-
24
+
25
25
  ##[ OCW Features ]##
26
26
  # Many features of OpenConferenceWare can be toggled via these settings
27
27
 
@@ -83,7 +83,7 @@ OpenConferenceWare.configure do |config|
83
83
  #
84
84
  # OCW can generate links to an external system, such as a wiki or an Etherpad
85
85
  # instance, that provides a place for attendees to take notes.
86
-
86
+
87
87
  # URL where OCW is installed
88
88
  config.app_root_url = 'http://opensourcebridge.org/'
89
89
 
@@ -96,7 +96,7 @@ OpenConferenceWare.configure do |config|
96
96
  config.session_notes_url_format = '%1$swiki/%2$s/'
97
97
 
98
98
  ##[ Optional Settings ]##
99
-
99
+
100
100
  # Policy agreement to show on the proposal form
101
101
  # If an agreement is set, presenters will be required to agree in order to submit a proposal.
102
102
  #
@@ -117,7 +117,7 @@ postgresql_session:
117
117
  track: cooking
118
118
  submitted_at: <%= Time.now.to_s(:db) %>
119
119
  start_time: <%= Time.parse('2009-06-17 10:00am UTC').to_s(:db) %>
120
- speaking_experience: "I know PostgreSQL stuff."
120
+ speaking_experience: "I know PostgreSQL stuff."
121
121
  audience_level: a
122
122
  title: "PostgreSQL Session"
123
123
  excerpt: "Let's talk about PostgreSQL"
@@ -132,7 +132,7 @@ drizzle_session:
132
132
  track: cooking
133
133
  submitted_at: <%= Time.now.to_s(:db) %>
134
134
  start_time: <%= Time.parse('2009-06-17 10:00am UTC').to_s(:db) %>
135
- speaking_experience: "I know Drizzle stuff."
135
+ speaking_experience: "I know Drizzle stuff."
136
136
  audience_level: a
137
137
  title: "Drizzle Session"
138
138
  excerpt: "Let's talk about Drizzle"
@@ -147,7 +147,7 @@ mysql_session:
147
147
  track: cooking
148
148
  submitted_at: <%= Time.now.to_s(:db) %>
149
149
  start_time: <%= Time.parse('2009-06-17 11:00am UTC').to_s(:db) %>
150
- speaking_experience: "I know MySQL stuff."
150
+ speaking_experience: "I know MySQL stuff."
151
151
  audience_level: a
152
152
  title: "MySQL Session"
153
153
  excerpt: "Let's talk about MySQL"
@@ -164,7 +164,7 @@ sqlite_session:
164
164
  start_time: <%= Time.parse('2009-06-17 11:00am UTC').to_s(:db) %>
165
165
  audience_level: a
166
166
  title: "SQLite Session"
167
- speaking_experience: "I know SQLite stuff."
167
+ speaking_experience: "I know SQLite stuff."
168
168
  excerpt: "Let's talk about SQLite"
169
169
  description: "Details about SQLite session"
170
170
  status: confirmed
@@ -176,7 +176,7 @@ rakudo_session:
176
176
  track: cooking
177
177
  submitted_at: <%= Time.now.to_s(:db) %>
178
178
  start_time: <%= Time.parse('2009-06-17 12:00pm UTC').to_s(:db) %>
179
- speaking_experience: "I AM A PONY!!1!"
179
+ speaking_experience: "I AM A PONY!!1!"
180
180
  audience_level: a
181
181
  title: "Rakudo Session"
182
182
  excerpt: "PERL 6 IS COMING SOON!!!1!"
@@ -190,7 +190,7 @@ cloud_session:
190
190
  track: hacks
191
191
  submitted_at: <%= Time.now.to_s(:db) %>
192
192
  start_time: <%= Time.parse('2009-06-18 12:00pm UTC').to_s(:db) %>
193
- speaking_experience: "I know everything there is about stratocumulus clouds."
193
+ speaking_experience: "I know everything there is about stratocumulus clouds."
194
194
  audience_level: a
195
195
  title: "The Cloud is Falling!"
196
196
  excerpt: "They told me to put all of my data in the cloud, now it's falling on me."
@@ -204,7 +204,7 @@ business_session:
204
204
  track: hacks
205
205
  submitted_at: <%= Time.now.to_s(:db) %>
206
206
  start_time: <%= Time.parse('2009-06-18 12:00pm UTC').to_s(:db) %>
207
- speaking_experience: "I own you."
207
+ speaking_experience: "I own you."
208
208
  audience_level: a
209
209
  title: "Give us money."
210
210
  excerpt: "$ pls."
@@ -218,7 +218,7 @@ sql_server_session:
218
218
  track: business
219
219
  submitted_at: <%= Time.now.to_s(:db) %>
220
220
  start_time: <%= Time.parse('2009-06-17 10:00am UTC').to_s(:db) %>
221
- speaking_experience: "Microsoft owns me."
221
+ speaking_experience: "Microsoft owns me."
222
222
  audience_level: a
223
223
  title: "SQL Server Session"
224
224
  excerpt: "A brief talk about SQL server."
@@ -232,7 +232,7 @@ couchdb_session:
232
232
  track: hacks
233
233
  submitted_at: <%= Time.now.to_s(:db) %>
234
234
  start_time: <%= Time.parse('2009-06-17 10:30am UTC').to_s(:db) %>
235
- speaking_experience: "I write all my code using curl."
235
+ speaking_experience: "I write all my code using curl."
236
236
  audience_level: a
237
237
  title: "CouchDB Session"
238
238
  excerpt: "A brief talk about CouchDB."
@@ -246,7 +246,7 @@ bigtable_session:
246
246
  track: hacks
247
247
  submitted_at: <%= Time.now.to_s(:db) %>
248
248
  start_time: <%= Time.parse('2009-06-17 11:00am UTC').to_s(:db) %>
249
- speaking_experience: "My table is bigger than yours."
249
+ speaking_experience: "My table is bigger than yours."
250
250
  audience_level: a
251
251
  title: "BigTable Session"
252
252
  excerpt: "Big table, short talk."
@@ -1,6 +1,6 @@
1
1
  # Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
2
2
 
3
- opening:
3
+ opening:
4
4
  event_id: 2009
5
5
  title: 'Opening'
6
6
  excerpt: 'Yay, welcome!'
@@ -52,13 +52,13 @@ culture:
52
52
  * Understanding wiki culture
53
53
  * What makes an open source project thrive?
54
54
  * Open source in government
55
-
56
- hacks:
55
+
56
+ hacks:
57
57
  event_id: 2009
58
58
  title: Hacks
59
59
  color: '#b937fb'
60
60
  excerpt: Do you tinker with your hardware, warranty restrictions or not? Where are you pushing the boundaries of out-of-the-box technology?
61
- description: |
61
+ description: |
62
62
  Do you tinker with your hardware, warranty restrictions or not? Where are you pushing the boundaries of out-of-the-box technology? Has your electronics hobby taken over your life? Show us the interesting, innovative things you're working on, outside of the pre-packaged options.
63
63
  * Creating an arduino clone
64
64
  * Open source rocketry
@@ -8,7 +8,7 @@ describe OpenConferenceWare::ProposalsHelper do
8
8
  @proposal1 = proposal_for_event(@event)
9
9
  @proposal2 = proposal_for_event(@event)
10
10
  end
11
-
11
+
12
12
  describe "#next_proposal_path_from" do
13
13
  it "should return a link to the next proposal when it exists" do
14
14
  helper.next_proposal_path_from(@proposal1).should == view.proposal_path(@proposal2)
@@ -5,11 +5,11 @@ describe OpenConferenceWare::SessionTypesHelper do
5
5
  before(:each) do
6
6
  @event = stub_current_event!
7
7
  end
8
-
8
+
9
9
  #Delete this example and add some real ones or delete this file
10
10
  it "should be included in the object returned by #helper" do
11
11
  included_modules = (class << helper; self; end).send :included_modules
12
12
  included_modules.should include(OpenConferenceWare::SessionTypesHelper)
13
13
  end
14
-
14
+
15
15
  end
@@ -5,7 +5,7 @@ describe "Time formatting" do
5
5
  before(:each) do
6
6
  @start_time = DateTime.new(2008, 4, 1, 9, 00)
7
7
  end
8
-
8
+
9
9
  # Test all permutations of
10
10
  # - context-date: with vs without
11
11
  # - format: hcal vs html (tags stripped) vs text (tags stripped, '&ndash;' --> '-')
@@ -38,15 +38,15 @@ describe "Time formatting" do
38
38
  end
39
39
  end
40
40
  end
41
- end
41
+ end
42
42
  end
43
-
43
+
44
44
  describe "with objects" do
45
45
  it "should format from objects that respond to just start_time" do
46
46
  event = build(:proposal,start_time: Time.parse('2008-04-01 13:30 UTC'))
47
47
  OpenConferenceWare::TimeRange.new(event, format: :text).to_s.should == "Tuesday, April 1, 2008 at 1:30pm"
48
48
  end
49
-
49
+
50
50
  it "should format from objects that respond to both start_time and end_time" do
51
51
  event = build(:proposal, start_time: Time.parse('2008-04-01 13:30 UTC'),
52
52
  session_type: stub_model(SessionType,duration: 45))
@@ -1,11 +1,11 @@
1
1
  require 'spec_helper'
2
2
 
3
3
  describe OpenConferenceWare::TracksHelper do
4
-
4
+
5
5
  #Delete this example and add some real ones or delete this file
6
6
  it "should be included in the object returned by #helper" do
7
7
  included_modules = (class << helper; self; end).send :included_modules
8
8
  included_modules.should include(OpenConferenceWare::TracksHelper)
9
9
  end
10
-
10
+
11
11
  end