lines-engine 0.1.25 → 0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/lines/version.rb +1 -1
- data/spec/features/article_spec.rb +2 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0e4fa222321de48b46c34424452d5d17bcf4f86a
|
4
|
+
data.tar.gz: 83ed0137e833ecb4560ae037fb364f150b30c30d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 79846c52d3b1115135c487509ebcfb249f8e6e3d7f92624b5c4d4109cedaac1e53609021d0c58a63c49ae5209baeacebf13e950818145b4ef1005b518b10358d
|
7
|
+
data.tar.gz: 5922ce6e5b2c454e53107bb828e6040fc3e96aa0e648c8f9167c49b3603d6dacf006ed0ce9eddad5f01a232faf156caecb43187fafd2147edab6dbbb500958c5
|
data/Gemfile.lock
CHANGED
data/lib/lines/version.rb
CHANGED
@@ -12,6 +12,7 @@ end
|
|
12
12
|
def create_valid_article
|
13
13
|
#expect(page).to have_content('New article')
|
14
14
|
fill_in "Title", with: "How to Test"
|
15
|
+
fill_in "Teaser", with: "Awesome teaser!"
|
15
16
|
fill_in "Content", with: "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
|
16
17
|
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
|
17
18
|
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
|
@@ -39,6 +40,7 @@ feature 'user creates article' do
|
|
39
40
|
expect(page).to have_content "Lorem ipsum dolor"
|
40
41
|
expect(page).to have_content "Foo Bar"
|
41
42
|
expect(page).to have_content "RSpec and Rails"
|
43
|
+
expect(page).to have_content "Awesome teaser!"
|
42
44
|
end
|
43
45
|
|
44
46
|
scenario 'with invalid attributes' do
|