We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1cee78 commit 1e23347Copy full SHA for 1e23347
2 files changed
spec/factories/story_factory.rb
@@ -14,11 +14,11 @@ def source
14
def self.build(params = {})
15
FakeStory.new(
16
id: rand(100),
17
- title: params[:title] || Faker::Lorem.sentence,
18
- permalink: params[:permalink] || Faker::Internet.url,
+ title: params[:title] || Faker::Lorem.sentence,
+ permalink: params[:permalink] || Faker::Internet.url,
19
body: params[:body] || Faker::Lorem.paragraph,
20
feed: params[:feed] || FeedFactory.build,
21
is_read: params[:is_read] || false,
22
published: params[:published] ||Time.now)
23
end
24
-end
+end
spec/spec_helper.rb
@@ -30,5 +30,5 @@ def app
30
31
32
def session
33
- last_request.env['rack.session']
+ last_request.env['rack.session']
34
0 commit comments