Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

FasterCSV -> CSV

  • Loading branch information...
commit 96269e728d4ef1d92875b384525502323de3ec6b 1 parent ba27db7
@senior senior authored
View
2  vendor/engines/conference_sessions/app/models/conference_session.rb
@@ -111,7 +111,7 @@ def self.by_short_session_time_and_location_for_formats(*formats)
end
def self.to_csv(year = nil)
- FasterCSV.generate({:force_quotes => true}) do |csv|
+ CSV.generate({:force_quotes => true}) do |csv|
csv << ["conf_year", "start_time", "end_time", "location", "position",
"title", "format", "talk_type", "track", "abstract", "comments", "prereqs",
"av_requirement", "video_approval", "speaker", "speaker_bio", "twitter_id", "company"]
View
4 vendor/engines/conference_sessions/spec/models/conference_session_spec.rb
@@ -125,7 +125,7 @@
it "Should generate CSV with only conference sessions in current year" do
csv = ConferenceSession.to_csv()
- arr_of_conference_sessions = FasterCSV.parse(csv)
+ arr_of_conference_sessions = CSV.parse(csv)
arr_of_conference_sessions.length.should == 3
header_row = arr_of_conference_sessions[0]
@@ -141,7 +141,7 @@
it "Should generate CSV with only conference sessions in 2010" do
csv = ConferenceSession.to_csv(2010)
- arr_of_conference_sessions = FasterCSV.parse(csv)
+ arr_of_conference_sessions = CSV.parse(csv)
arr_of_conference_sessions.length.should == 2
header_row = arr_of_conference_sessions[0]
View
2  vendor/engines/proposals/spec/models/proposal_spec.rb
@@ -256,7 +256,7 @@ def check_one_comment_list(comment_list, title, text)
it "Should generate CSV for all proposals in the current year" do
csv = Proposal.all_to_csv
- arr_of_proposals = FasterCSV.parse(csv)
+ arr_of_proposals = CSV.parse(csv)
arr_of_proposals.length.should == 4
header_row = arr_of_proposals[0]

0 comments on commit 96269e7

Please sign in to comment.
Something went wrong with that request. Please try again.