Browse files

Removing Cucumber features.

  • Loading branch information...
1 parent 6c688d8 commit 32037a0dbcfb23a90c3c0e027e20d8a076f1de55 @isabanin isabanin committed Feb 23, 2011
Showing with 0 additions and 37 deletions.
  1. +0 −12 Rakefile
  2. +0 −15 features/postmark.feature
  3. 0 features/step_definitions/postmark_steps.rb
  4. +0 −4 features/support/env.rb
  5. +0 −6 postmark.gemspec
View
12 Rakefile
@@ -12,7 +12,6 @@ begin
gem.authors = ["Petyo Ivanov", "Ilya Sabanin"]
gem.add_development_dependency "rspec"
- gem.add_development_dependency "cucumber"
gem.add_development_dependency "activesupport"
gem.add_development_dependency "json"
gem.add_development_dependency "ruby-debug"
@@ -47,17 +46,6 @@ end
task :spec => :check_dependencies
-begin
- require 'cucumber/rake/task'
- Cucumber::Rake::Task.new(:features)
-
- task :features => :check_dependencies
-rescue LoadError
- task :features do
- abort "Cucumber is not available. In order to run features, you must: sudo gem install cucumber"
- end
-end
-
task :default => :spec
require 'rake/rdoctask'
View
15 features/postmark.feature
@@ -1,15 +0,0 @@
-Feature: sending emails through Postmark API
- In order to communicate effectively with the world
- My application should be able to deliver emails through the postmark API
-
- Background:
- Given the service listens to "http://postmarkapp.local"
- And I have an account with api key "mykey"
-
- Scenario: Sending simple email
- Given I send the following email:
- | From | leonard@bigbangtheory.com |
- | To | sheldon@bigbangtheory.com |
- | Subject | About that last night |
- | Body | Sorry for not coming |
- Then the service should receive an email on behalf of "mykey" for "sheldon@bigbangtheory.com"
View
0 features/step_definitions/postmark_steps.rb
No changes.
View
4 features/support/env.rb
@@ -1,4 +0,0 @@
-$LOAD_PATH.unshift(File.dirname(__FILE__) + '/../../lib')
-require 'postmark'
-
-require 'spec/expectations'
View
6 postmark.gemspec
@@ -25,9 +25,6 @@ Gem::Specification.new do |s|
"README.rdoc",
"Rakefile",
"VERSION",
- "features/postmark.feature",
- "features/step_definitions/postmark_steps.rb",
- "features/support/env.rb",
"init.rb",
"lib/postmark.rb",
"lib/postmark/attachments_fix_for_mail.rb",
@@ -69,7 +66,6 @@ Gem::Specification.new do |s|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_development_dependency(%q<rspec>, [">= 0"])
- s.add_development_dependency(%q<cucumber>, [">= 0"])
s.add_development_dependency(%q<activesupport>, [">= 0"])
s.add_development_dependency(%q<json>, [">= 0"])
s.add_development_dependency(%q<ruby-debug>, [">= 0"])
@@ -79,7 +75,6 @@ Gem::Specification.new do |s|
s.add_development_dependency(%q<yajl-ruby>, [">= 0"])
else
s.add_dependency(%q<rspec>, [">= 0"])
- s.add_dependency(%q<cucumber>, [">= 0"])
s.add_dependency(%q<activesupport>, [">= 0"])
s.add_dependency(%q<json>, [">= 0"])
s.add_dependency(%q<ruby-debug>, [">= 0"])
@@ -90,7 +85,6 @@ Gem::Specification.new do |s|
end
else
s.add_dependency(%q<rspec>, [">= 0"])
- s.add_dependency(%q<cucumber>, [">= 0"])
s.add_dependency(%q<activesupport>, [">= 0"])
s.add_dependency(%q<json>, [">= 0"])
s.add_dependency(%q<ruby-debug>, [">= 0"])

0 comments on commit 32037a0

Please sign in to comment.