jnicklas-courgette 0.0.2
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/History.txt +4 -0
- data/Manifest.txt +87 -0
- data/PostInstall.txt +7 -0
- data/README.rdoc +53 -0
- data/Rakefile +27 -0
- data/app/controllers/features_controller.rb +14 -0
- data/app/views/features/index.html.erb +19 -0
- data/app/views/features/show.html.erb +3 -0
- data/app/views/layouts/courgette.html.erb +94 -0
- data/config/routes.rb +3 -0
- data/courgette.gemspec +44 -0
- data/features/list_features.feature +11 -0
- data/features/show_feature.feature +23 -0
- data/features/step_definitions/courgette_steps.rb +25 -0
- data/features/step_definitions/webrat_steps.rb +104 -0
- data/features/support/env.rb +23 -0
- data/fixture_rails_root/README +243 -0
- data/fixture_rails_root/Rakefile +10 -0
- data/fixture_rails_root/app/controllers/application_controller.rb +10 -0
- data/fixture_rails_root/app/helpers/application_helper.rb +3 -0
- data/fixture_rails_root/app/views/home/index.html.erb +2 -0
- data/fixture_rails_root/app/views/layouts/application.html.erb +18 -0
- data/fixture_rails_root/config/boot.rb +110 -0
- data/fixture_rails_root/config/database.yml +22 -0
- data/fixture_rails_root/config/environment.rb +18 -0
- data/fixture_rails_root/config/environments/development.rb +17 -0
- data/fixture_rails_root/config/environments/production.rb +28 -0
- data/fixture_rails_root/config/environments/test.rb +28 -0
- data/fixture_rails_root/config/initializers/backtrace_silencers.rb +7 -0
- data/fixture_rails_root/config/initializers/inflections.rb +10 -0
- data/fixture_rails_root/config/initializers/mime_types.rb +5 -0
- data/fixture_rails_root/config/initializers/new_rails_defaults.rb +19 -0
- data/fixture_rails_root/config/initializers/session_store.rb +15 -0
- data/fixture_rails_root/config/locales/en.yml +5 -0
- data/fixture_rails_root/config/routes.rb +3 -0
- data/fixture_rails_root/db/development.sqlite3 +0 -0
- data/fixture_rails_root/db/migrate/20090720193349_add_users.rb +20 -0
- data/fixture_rails_root/db/schema.rb +27 -0
- data/fixture_rails_root/db/test.sqlite3 +0 -0
- data/fixture_rails_root/doc/README_FOR_APP +2 -0
- data/fixture_rails_root/features/step_definitions/webrat_steps.rb +115 -0
- data/fixture_rails_root/features/support/env.rb +17 -0
- data/fixture_rails_root/features/support/paths.rb +29 -0
- data/fixture_rails_root/features/user_eats_rabbits.feature +17 -0
- data/fixture_rails_root/features/visitor_transforms.feature +14 -0
- data/fixture_rails_root/lib/tasks/cucumber.rake +15 -0
- data/fixture_rails_root/public/404.html +30 -0
- data/fixture_rails_root/public/422.html +30 -0
- data/fixture_rails_root/public/500.html +30 -0
- data/fixture_rails_root/public/favicon.ico +0 -0
- data/fixture_rails_root/public/images/rails.png +0 -0
- data/fixture_rails_root/public/index.html +275 -0
- data/fixture_rails_root/public/javascripts/application.js +2 -0
- data/fixture_rails_root/public/javascripts/controls.js +963 -0
- data/fixture_rails_root/public/javascripts/dragdrop.js +973 -0
- data/fixture_rails_root/public/javascripts/effects.js +1128 -0
- data/fixture_rails_root/public/javascripts/prototype.js +4320 -0
- data/fixture_rails_root/public/robots.txt +5 -0
- data/fixture_rails_root/script/about +4 -0
- data/fixture_rails_root/script/console +3 -0
- data/fixture_rails_root/script/cucumber +8 -0
- data/fixture_rails_root/script/dbconsole +3 -0
- data/fixture_rails_root/script/destroy +3 -0
- data/fixture_rails_root/script/generate +3 -0
- data/fixture_rails_root/script/performance/benchmarker +3 -0
- data/fixture_rails_root/script/performance/profiler +3 -0
- data/fixture_rails_root/script/plugin +3 -0
- data/fixture_rails_root/script/runner +3 -0
- data/fixture_rails_root/script/server +3 -0
- data/fixture_rails_root/spec/controllers/home_controller_spec.rb +17 -0
- data/fixture_rails_root/spec/helpers/home_helper_spec.rb +11 -0
- data/fixture_rails_root/spec/views/home/index.html.erb_spec.rb +12 -0
- data/fixture_rails_root/test/fixtures/users.yml +7 -0
- data/fixture_rails_root/test/performance/browsing_test.rb +9 -0
- data/fixture_rails_root/test/test_helper.rb +38 -0
- data/fixture_rails_root/test/unit/user_test.rb +8 -0
- data/lib/courgette/feature.rb +52 -0
- data/lib/courgette.rb +29 -0
- data/script/console +10 -0
- data/script/destroy +14 -0
- data/script/generate +14 -0
- data/spec/controllers/features_controller_spec.rb +24 -0
- data/spec/courgette_spec.rb +25 -0
- data/spec/feature_spec.rb +33 -0
- data/spec/spec_helper.rb +19 -0
- data/test/test_courgette.rb +11 -0
- data/test/test_helper.rb +3 -0
- metadata +164 -0
@@ -0,0 +1,17 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
|
2
|
+
|
3
|
+
describe HomeController do
|
4
|
+
|
5
|
+
#Delete these examples and add some real ones
|
6
|
+
it "should use HomeController" do
|
7
|
+
controller.should be_an_instance_of(HomeController)
|
8
|
+
end
|
9
|
+
|
10
|
+
|
11
|
+
describe "GET 'index'" do
|
12
|
+
it "should be successful" do
|
13
|
+
get 'index'
|
14
|
+
response.should be_success
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,11 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
|
2
|
+
|
3
|
+
describe HomeHelper do
|
4
|
+
|
5
|
+
#Delete this example and add some real ones or delete this file
|
6
|
+
it "should be included in the object returned by #helper" do
|
7
|
+
included_modules = (class << helper; self; end).send :included_modules
|
8
|
+
included_modules.should include(HomeHelper)
|
9
|
+
end
|
10
|
+
|
11
|
+
end
|
@@ -0,0 +1,12 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper')
|
2
|
+
|
3
|
+
describe "/home/index" do
|
4
|
+
before(:each) do
|
5
|
+
render 'home/index'
|
6
|
+
end
|
7
|
+
|
8
|
+
#Delete this example and add some real ones or delete this file
|
9
|
+
it "should tell you where to find the file" do
|
10
|
+
response.should have_tag('p', %r[Find me in app/views/home/index])
|
11
|
+
end
|
12
|
+
end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
ENV["RAILS_ENV"] = "test"
|
2
|
+
require File.expand_path(File.dirname(__FILE__) + "/../config/environment")
|
3
|
+
require 'test_help'
|
4
|
+
|
5
|
+
class ActiveSupport::TestCase
|
6
|
+
# Transactional fixtures accelerate your tests by wrapping each test method
|
7
|
+
# in a transaction that's rolled back on completion. This ensures that the
|
8
|
+
# test database remains unchanged so your fixtures don't have to be reloaded
|
9
|
+
# between every test method. Fewer database queries means faster tests.
|
10
|
+
#
|
11
|
+
# Read Mike Clark's excellent walkthrough at
|
12
|
+
# http://clarkware.com/cgi/blosxom/2005/10/24#Rails10FastTesting
|
13
|
+
#
|
14
|
+
# Every Active Record database supports transactions except MyISAM tables
|
15
|
+
# in MySQL. Turn off transactional fixtures in this case; however, if you
|
16
|
+
# don't care one way or the other, switching from MyISAM to InnoDB tables
|
17
|
+
# is recommended.
|
18
|
+
#
|
19
|
+
# The only drawback to using transactional fixtures is when you actually
|
20
|
+
# need to test transactions. Since your test is bracketed by a transaction,
|
21
|
+
# any transactions started in your code will be automatically rolled back.
|
22
|
+
self.use_transactional_fixtures = true
|
23
|
+
|
24
|
+
# Instantiated fixtures are slow, but give you @david where otherwise you
|
25
|
+
# would need people(:david). If you don't want to migrate your existing
|
26
|
+
# test cases which use the @david style and don't mind the speed hit (each
|
27
|
+
# instantiated fixtures translates to a database query per test method),
|
28
|
+
# then set this back to true.
|
29
|
+
self.use_instantiated_fixtures = false
|
30
|
+
|
31
|
+
# Setup all fixtures in test/fixtures/*.(yml|csv) for all tests in alphabetical order.
|
32
|
+
#
|
33
|
+
# Note: You'll currently still have to declare fixtures explicitly in integration tests
|
34
|
+
# -- they do not yet inherit this setting
|
35
|
+
fixtures :all
|
36
|
+
|
37
|
+
# Add more helper methods to be used by all tests here...
|
38
|
+
end
|
@@ -0,0 +1,52 @@
|
|
1
|
+
module Courgette
|
2
|
+
|
3
|
+
class Feature
|
4
|
+
|
5
|
+
attr_reader :path
|
6
|
+
|
7
|
+
def initialize(path)
|
8
|
+
@path = path
|
9
|
+
end
|
10
|
+
|
11
|
+
def name
|
12
|
+
name_lines.first.split(':', 2).second.strip
|
13
|
+
end
|
14
|
+
|
15
|
+
def feature_elements_size
|
16
|
+
ast.instance_variable_get('@feature_elements').size
|
17
|
+
end
|
18
|
+
|
19
|
+
def to_param
|
20
|
+
relative_path.sub(/^\//, '').sub(/\.feature$/, '').parameterize.dasherize.to_s
|
21
|
+
end
|
22
|
+
|
23
|
+
def to_html
|
24
|
+
step_mother = Object.new
|
25
|
+
step_mother.extend(Cucumber::StepMother)
|
26
|
+
visitor = Cucumber::Formatter::Html.new(step_mother, nil, {})
|
27
|
+
visitor.visit_feature(ast)
|
28
|
+
end
|
29
|
+
|
30
|
+
private
|
31
|
+
|
32
|
+
def relative_path
|
33
|
+
File.expand_path(path).sub(Courgette.feature_root, '')
|
34
|
+
end
|
35
|
+
|
36
|
+
def name_lines
|
37
|
+
ast.name.respond_to?(:lines) ? ast.name.lines.to_a : ast.name.to_a
|
38
|
+
end
|
39
|
+
|
40
|
+
def feature_file
|
41
|
+
@feature_file ||= Cucumber::FeatureFile.new(path)
|
42
|
+
end
|
43
|
+
|
44
|
+
def ast
|
45
|
+
@ast ||= feature_file.parse
|
46
|
+
end
|
47
|
+
|
48
|
+
|
49
|
+
end
|
50
|
+
|
51
|
+
|
52
|
+
end
|
data/lib/courgette.rb
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
$:.unshift(File.dirname(__FILE__)) unless
|
2
|
+
$:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
|
3
|
+
|
4
|
+
require 'cucumber'
|
5
|
+
require 'cucumber/feature_file'
|
6
|
+
require 'cucumber/formatter/html'
|
7
|
+
|
8
|
+
module Courgette
|
9
|
+
VERSION = '0.0.2'
|
10
|
+
|
11
|
+
autoload :Feature, 'courgette/feature'
|
12
|
+
|
13
|
+
class << self
|
14
|
+
def features
|
15
|
+
Dir.glob(File.join(feature_root, '**/*.feature')).map do |file|
|
16
|
+
Courgette::Feature.new(file)
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
def find(param)
|
21
|
+
features.find { |f| f.to_param == param }
|
22
|
+
end
|
23
|
+
|
24
|
+
def feature_root
|
25
|
+
Rails.root.join('features').to_s
|
26
|
+
end
|
27
|
+
|
28
|
+
end
|
29
|
+
end
|
data/script/console
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# File: script/console
|
3
|
+
irb = RUBY_PLATFORM =~ /(:?mswin|mingw)/ ? 'irb.bat' : 'irb'
|
4
|
+
|
5
|
+
libs = " -r irb/completion"
|
6
|
+
# Perhaps use a console_lib to store any extra methods I may want available in the cosole
|
7
|
+
# libs << " -r #{File.dirname(__FILE__) + '/../lib/console_lib/console_logger.rb'}"
|
8
|
+
libs << " -r #{File.dirname(__FILE__) + '/../lib/courgette.rb'}"
|
9
|
+
puts "Loading courgette gem"
|
10
|
+
exec "#{irb} #{libs} --simple-prompt"
|
data/script/destroy
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
APP_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..'))
|
3
|
+
|
4
|
+
begin
|
5
|
+
require 'rubigen'
|
6
|
+
rescue LoadError
|
7
|
+
require 'rubygems'
|
8
|
+
require 'rubigen'
|
9
|
+
end
|
10
|
+
require 'rubigen/scripts/destroy'
|
11
|
+
|
12
|
+
ARGV.shift if ['--help', '-h'].include?(ARGV[0])
|
13
|
+
RubiGen::Base.use_component_sources! [:rubygems, :newgem, :newgem_theme, :test_unit]
|
14
|
+
RubiGen::Scripts::Destroy.new.run(ARGV)
|
data/script/generate
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
APP_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..'))
|
3
|
+
|
4
|
+
begin
|
5
|
+
require 'rubigen'
|
6
|
+
rescue LoadError
|
7
|
+
require 'rubygems'
|
8
|
+
require 'rubigen'
|
9
|
+
end
|
10
|
+
require 'rubigen/scripts/generate'
|
11
|
+
|
12
|
+
ARGV.shift if ['--help', '-h'].include?(ARGV[0])
|
13
|
+
RubiGen::Base.use_component_sources! [:rubygems, :newgem, :newgem_theme, :test_unit]
|
14
|
+
RubiGen::Scripts::Generate.new.run(ARGV)
|
@@ -0,0 +1,24 @@
|
|
1
|
+
require File.join(File.dirname(__FILE__), '..', 'spec_helper')
|
2
|
+
|
3
|
+
describe FeaturesController do
|
4
|
+
|
5
|
+
before { @feature = mock('a feature') }
|
6
|
+
|
7
|
+
describe :get => :show, :id => 'user_eats_rabbit' do
|
8
|
+
before { Courgette.should_receive(:find).with('user_eats_rabbit').and_return(@feature) }
|
9
|
+
|
10
|
+
it { should respond_with(:success) }
|
11
|
+
it { should render_template('features/show') }
|
12
|
+
it { should assign_to(:feature, :with => @feature) }
|
13
|
+
end
|
14
|
+
|
15
|
+
describe :get => :index do
|
16
|
+
before { Rails.stub!(:root).and_return('rails/root') }
|
17
|
+
before { Courgette.should_receive(:features).and_return([@feature]) }
|
18
|
+
|
19
|
+
it { should respond_with(:success) }
|
20
|
+
it { should render_template('features/index') }
|
21
|
+
it { should assign_to(:features, :with => [@feature]) }
|
22
|
+
end
|
23
|
+
|
24
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
require File.join(File.dirname(__FILE__), 'spec_helper')
|
2
|
+
|
3
|
+
describe Courgette do
|
4
|
+
|
5
|
+
describe '.features' do
|
6
|
+
it "should return a list of Courgette::Feature objects" do
|
7
|
+
Courgette.features.first.should be_an_instance_of(Courgette::Feature)
|
8
|
+
Courgette.features.second.should be_an_instance_of(Courgette::Feature)
|
9
|
+
end
|
10
|
+
|
11
|
+
it "should glob the path for feature files and get them by path" do
|
12
|
+
Courgette.features.map(&:path).should include(Rails.root.join('features/user_eats_rabbits.feature').to_s)
|
13
|
+
Courgette.features.map(&:path).should include(Rails.root.join('features/visitor_transforms.feature').to_s)
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
describe '.find' do
|
18
|
+
it "should find a feature by param" do
|
19
|
+
@feature = Courgette.find('user-eats-rabbits')
|
20
|
+
@feature.should be_an_instance_of(Courgette::Feature)
|
21
|
+
@feature.path.should == Rails.root.join('features/user_eats_rabbits.feature').to_s
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
require File.join(File.dirname(__FILE__), 'spec_helper')
|
2
|
+
|
3
|
+
describe Courgette::Feature do
|
4
|
+
|
5
|
+
before do
|
6
|
+
@feature = Courgette::Feature.new(Rails.root.join('features/user_eats_rabbits.feature').to_s)
|
7
|
+
end
|
8
|
+
|
9
|
+
describe '#name' do
|
10
|
+
it "should return the feature's name" do
|
11
|
+
@feature.name.should == "User eats a Rabbit"
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
describe '#feature_elements_size' do
|
16
|
+
it "should return the number of scenarios" do
|
17
|
+
@feature.feature_elements_size.should == 2
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
describe '#to_param' do
|
22
|
+
it "should return the feature's path, relative to feature_root, parameterized and without extension" do
|
23
|
+
@feature.to_param.should == 'user-eats-rabbits'
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
describe '#to_html' do
|
28
|
+
it "should not raise any errors" do
|
29
|
+
lambda { @feature.to_html }.should_not raise_error
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
ENV["RAILS_ENV"] = "test"
|
2
|
+
RAILS_ENV = ENV["RAILS_ENV"]
|
3
|
+
|
4
|
+
require 'rubygems'
|
5
|
+
|
6
|
+
require File.expand_path(File.dirname(__FILE__) + "/../fixture_rails_root/config/environment")
|
7
|
+
|
8
|
+
require 'spec'
|
9
|
+
require 'spec/autorun'
|
10
|
+
require 'spec/rails'
|
11
|
+
require 'remarkable_rails'
|
12
|
+
|
13
|
+
$: << File.expand_path(File.dirname(__FILE__) + '/../lib/')
|
14
|
+
require 'courgette'
|
15
|
+
|
16
|
+
Spec::Runner.configure do |config|
|
17
|
+
config.use_transactional_fixtures = true
|
18
|
+
config.use_instantiated_fixtures = false
|
19
|
+
end
|
data/test/test_helper.rb
ADDED
metadata
ADDED
@@ -0,0 +1,164 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: jnicklas-courgette
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.2
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Jonas Nicklas
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2009-07-22 00:00:00 -07:00
|
13
|
+
default_executable:
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: cucumber
|
17
|
+
type: :runtime
|
18
|
+
version_requirement:
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ">="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 0.3.90
|
24
|
+
version:
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: hoe
|
27
|
+
type: :development
|
28
|
+
version_requirement:
|
29
|
+
version_requirements: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 2.3.2
|
34
|
+
version:
|
35
|
+
description: "Courgette is a Rails engine which makes your feature files viewable through your browser. Install and browse to: /features Voil\xC3\xA1, pretty list of features. Great for communicating with the customer."
|
36
|
+
email:
|
37
|
+
- jonas.nicklas@gmail.com
|
38
|
+
executables: []
|
39
|
+
|
40
|
+
extensions: []
|
41
|
+
|
42
|
+
extra_rdoc_files:
|
43
|
+
- History.txt
|
44
|
+
- Manifest.txt
|
45
|
+
- PostInstall.txt
|
46
|
+
- fixture_rails_root/public/robots.txt
|
47
|
+
files:
|
48
|
+
- History.txt
|
49
|
+
- Manifest.txt
|
50
|
+
- PostInstall.txt
|
51
|
+
- README.rdoc
|
52
|
+
- Rakefile
|
53
|
+
- app/controllers/features_controller.rb
|
54
|
+
- app/views/features/index.html.erb
|
55
|
+
- app/views/features/show.html.erb
|
56
|
+
- app/views/layouts/courgette.html.erb
|
57
|
+
- config/routes.rb
|
58
|
+
- courgette.gemspec
|
59
|
+
- features/list_features.feature
|
60
|
+
- features/show_feature.feature
|
61
|
+
- features/step_definitions/courgette_steps.rb
|
62
|
+
- features/step_definitions/webrat_steps.rb
|
63
|
+
- features/support/env.rb
|
64
|
+
- fixture_rails_root/README
|
65
|
+
- fixture_rails_root/Rakefile
|
66
|
+
- fixture_rails_root/app/controllers/application_controller.rb
|
67
|
+
- fixture_rails_root/app/helpers/application_helper.rb
|
68
|
+
- fixture_rails_root/app/views/home/index.html.erb
|
69
|
+
- fixture_rails_root/app/views/layouts/application.html.erb
|
70
|
+
- fixture_rails_root/config/boot.rb
|
71
|
+
- fixture_rails_root/config/database.yml
|
72
|
+
- fixture_rails_root/config/environment.rb
|
73
|
+
- fixture_rails_root/config/environments/development.rb
|
74
|
+
- fixture_rails_root/config/environments/production.rb
|
75
|
+
- fixture_rails_root/config/environments/test.rb
|
76
|
+
- fixture_rails_root/config/initializers/backtrace_silencers.rb
|
77
|
+
- fixture_rails_root/config/initializers/inflections.rb
|
78
|
+
- fixture_rails_root/config/initializers/mime_types.rb
|
79
|
+
- fixture_rails_root/config/initializers/new_rails_defaults.rb
|
80
|
+
- fixture_rails_root/config/initializers/session_store.rb
|
81
|
+
- fixture_rails_root/config/locales/en.yml
|
82
|
+
- fixture_rails_root/config/routes.rb
|
83
|
+
- fixture_rails_root/db/development.sqlite3
|
84
|
+
- fixture_rails_root/db/migrate/20090720193349_add_users.rb
|
85
|
+
- fixture_rails_root/db/schema.rb
|
86
|
+
- fixture_rails_root/db/test.sqlite3
|
87
|
+
- fixture_rails_root/doc/README_FOR_APP
|
88
|
+
- fixture_rails_root/features/step_definitions/webrat_steps.rb
|
89
|
+
- fixture_rails_root/features/support/env.rb
|
90
|
+
- fixture_rails_root/features/support/paths.rb
|
91
|
+
- fixture_rails_root/features/user_eats_rabbits.feature
|
92
|
+
- fixture_rails_root/features/visitor_transforms.feature
|
93
|
+
- fixture_rails_root/lib/tasks/cucumber.rake
|
94
|
+
- fixture_rails_root/public/404.html
|
95
|
+
- fixture_rails_root/public/422.html
|
96
|
+
- fixture_rails_root/public/500.html
|
97
|
+
- fixture_rails_root/public/favicon.ico
|
98
|
+
- fixture_rails_root/public/images/rails.png
|
99
|
+
- fixture_rails_root/public/index.html
|
100
|
+
- fixture_rails_root/public/javascripts/application.js
|
101
|
+
- fixture_rails_root/public/javascripts/controls.js
|
102
|
+
- fixture_rails_root/public/javascripts/dragdrop.js
|
103
|
+
- fixture_rails_root/public/javascripts/effects.js
|
104
|
+
- fixture_rails_root/public/javascripts/prototype.js
|
105
|
+
- fixture_rails_root/public/robots.txt
|
106
|
+
- fixture_rails_root/script/about
|
107
|
+
- fixture_rails_root/script/console
|
108
|
+
- fixture_rails_root/script/cucumber
|
109
|
+
- fixture_rails_root/script/dbconsole
|
110
|
+
- fixture_rails_root/script/destroy
|
111
|
+
- fixture_rails_root/script/generate
|
112
|
+
- fixture_rails_root/script/performance/benchmarker
|
113
|
+
- fixture_rails_root/script/performance/profiler
|
114
|
+
- fixture_rails_root/script/plugin
|
115
|
+
- fixture_rails_root/script/runner
|
116
|
+
- fixture_rails_root/script/server
|
117
|
+
- fixture_rails_root/spec/controllers/home_controller_spec.rb
|
118
|
+
- fixture_rails_root/spec/helpers/home_helper_spec.rb
|
119
|
+
- fixture_rails_root/spec/views/home/index.html.erb_spec.rb
|
120
|
+
- fixture_rails_root/test/fixtures/users.yml
|
121
|
+
- fixture_rails_root/test/performance/browsing_test.rb
|
122
|
+
- fixture_rails_root/test/test_helper.rb
|
123
|
+
- fixture_rails_root/test/unit/user_test.rb
|
124
|
+
- lib/courgette.rb
|
125
|
+
- lib/courgette/feature.rb
|
126
|
+
- script/console
|
127
|
+
- script/destroy
|
128
|
+
- script/generate
|
129
|
+
- spec/controllers/features_controller_spec.rb
|
130
|
+
- spec/courgette_spec.rb
|
131
|
+
- spec/feature_spec.rb
|
132
|
+
- spec/spec_helper.rb
|
133
|
+
- test/test_courgette.rb
|
134
|
+
- test/test_helper.rb
|
135
|
+
has_rdoc: true
|
136
|
+
homepage: http://github.com/jnicklas/courgette
|
137
|
+
post_install_message: PostInstall.txt
|
138
|
+
rdoc_options:
|
139
|
+
- --main
|
140
|
+
- README.rdoc
|
141
|
+
require_paths:
|
142
|
+
- lib
|
143
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
144
|
+
requirements:
|
145
|
+
- - ">="
|
146
|
+
- !ruby/object:Gem::Version
|
147
|
+
version: "0"
|
148
|
+
version:
|
149
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
150
|
+
requirements:
|
151
|
+
- - ">="
|
152
|
+
- !ruby/object:Gem::Version
|
153
|
+
version: "0"
|
154
|
+
version:
|
155
|
+
requirements: []
|
156
|
+
|
157
|
+
rubyforge_project: courgette
|
158
|
+
rubygems_version: 1.2.0
|
159
|
+
signing_key:
|
160
|
+
specification_version: 3
|
161
|
+
summary: Courgette is a Rails engine which makes your feature files viewable through your browser
|
162
|
+
test_files:
|
163
|
+
- test/test_courgette.rb
|
164
|
+
- test/test_helper.rb
|