roadkill 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # Roadkill
2
2
 
3
+ Automated testing for web apps written in *any* language.
4
+
3
5
  ##TL;DR:
4
6
  This gem lets you easily install [Capybara](https://github.com/jnicklas/capybara) with [PhantomJS](https://github.com/ariya/phantomjs) and easily use them from *any* web application project directory so that you can start writing tests for your web application's pages right away.
5
7
 
@@ -131,7 +131,7 @@ class Roadkill < Thor
131
131
  template "../files/generate/templates/spec_helper.rb.tt", "#{tests_dir}/spec_helper.rb", config[:environment]
132
132
 
133
133
  say ""
134
- say "Your testing suite is ready! You can now make tests in the 'integration' directory."
134
+ say "Your testing suite is ready! You can now make tests in the 'acceptance' directory."
135
135
  say ""
136
136
  if use_database
137
137
  say "Note: since you entered database information, we created a '.gitignore' file in the tests directory which will ignore the database.yml file by default. This is to prevent accidentally committing your database information to your repository."
@@ -1,2 +1,2 @@
1
1
 
2
- Dir["integration/*_spec.rb"].each { |f| require_relative f}
2
+ Dir["acceptance/*_spec.rb"].each { |f| require_relative f}
@@ -1,3 +1,3 @@
1
1
  module Roadkill
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: roadkill
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -140,9 +140,9 @@ files:
140
140
  - bin/roadkill
141
141
  - files/generate/.rspec
142
142
  - files/generate/ready/.gitignore
143
+ - files/generate/ready/acceptance/sample_spec.rb
143
144
  - files/generate/ready/database.yml.sample
144
145
  - files/generate/ready/db_connect.rb
145
- - files/generate/ready/integration/sample_spec.rb
146
146
  - files/generate/ready/spec
147
147
  - files/generate/templates/Gemfile.tt
148
148
  - files/generate/templates/database.yml.tt
@@ -150,7 +150,7 @@ files:
150
150
  - files/sample_app/config.ru
151
151
  - files/sample_app/home.html
152
152
  - files/sample_app/tests/.rspec
153
- - files/sample_app/tests/integration/homepage_spec.rb
153
+ - files/sample_app/tests/acceptance/homepage_spec.rb
154
154
  - files/sample_app/todo_app.rb
155
155
  - integration/welcome_spec.rb
156
156
  - lib/roadkill.rb
@@ -158,8 +158,6 @@ files:
158
158
  - models.rb
159
159
  - roadkill.gemspec
160
160
  - setup/install_phantomjs_64bit.sh
161
- - spec
162
- - spec_helper.rb
163
161
  - todos.txt
164
162
  homepage: https://github.com/agapered/roadkill
165
163
  licenses:
data/spec DELETED
@@ -1,2 +0,0 @@
1
-
2
- Dir["integration/*_spec.rb"].each { |f| require_relative f}
@@ -1,21 +0,0 @@
1
-
2
- #require 'capybara/mechanize'
3
- require 'capybara/rspec'
4
- require 'capybara/poltergeist'
5
- require 'active_record'
6
- require 'pry'
7
- require './models'
8
-
9
- ActiveRecord::Base.establish_connection({
10
- adapter: :postgresql,
11
- host: "localhost",
12
- username: "postgres",
13
- password: "password",
14
- datababase: "integration_testing"
15
- })
16
-
17
- include Capybara::DSL
18
- Capybara.javascript_driver = Capybara.default_driver = :poltergeist
19
- Capybara.app_host = "http://localhost:3000"
20
- Capybara.run_server = false
21
-