Permalink
Browse files

Add cucumber and some features

  • Loading branch information...
1 parent 5c0f24a commit 937abe20d0d78dc82ce4ae8ba01e1442e2c609ef @unicornrainbow unicornrainbow committed May 16, 2011
View
@@ -6,7 +6,17 @@ PATH
GEM
remote: http://rubygems.org/
specs:
+ builder (2.1.2)
+ cucumber (0.10.2)
+ builder (>= 2.1.2)
+ diff-lcs (>= 1.1.2)
+ gherkin (>= 2.3.5)
+ json (>= 1.4.6)
+ term-ansicolor (>= 1.0.5)
diff-lcs (1.1.2)
+ gherkin (2.3.6)
+ json (>= 1.4.6)
+ json (1.5.1)
rspec (2.5.0)
rspec-core (~> 2.5.0)
rspec-expectations (~> 2.5.0)
@@ -15,10 +25,12 @@ GEM
rspec-expectations (2.5.0)
diff-lcs (~> 1.1.2)
rspec-mocks (2.5.0)
+ term-ansicolor (1.0.5)
PLATFORMS
ruby
DEPENDENCIES
+ cucumber
javascripto!
rspec
View
@@ -2,11 +2,17 @@ require 'bundler'
Bundler::GemHelper.install_tasks
require 'rspec/core/rake_task'
+require 'cucumber/rake/task'
desc "Run all specs"
RSpec::Core::RakeTask.new(:spec) do |t|
t.pattern = 'spec/**/*_spec.rb'
t.rspec_opts = ['--options', 'spec/spec.opts']
end
-task :default => :spec
+desc "Run all features"
+Cucumber::Rake::Task.new do |t|
+ t.cucumber_opts = %w{--format progress}
+end
+
+task :default => [:spec, :cucumber]
@@ -0,0 +1,4 @@
+Feature: File Dependencies
+ As a user
+ I would like to be able to specify a file dependency
+ So that the system can ensure the dependency is included first when the files are stitched
@@ -0,0 +1,4 @@
+Feature: Package Configuration
+ As a user
+ I would like to be able to specify a package configuration
+ So I can control which files are stitched together while still honoring file dependencies.
@@ -0,0 +1,4 @@
+Feature: Remote Packages
+ As a user
+ I would like to specify a remote package
+ So the system can include a reference to the package instead of stitching it in
No changes.
View
@@ -15,6 +15,7 @@ Gem::Specification.new do |s|
s.rubyforge_project = "javascripto"
s.add_development_dependency "rspec"
+ s.add_development_dependency "cucumber"
s.files = `git ls-files | grep javascripto-rails -v`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")

0 comments on commit 937abe2

Please sign in to comment.