From: "Petteri Räty" <betelgeuse@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/council-webapp:master commit in: site/features/support/, site/, site/features/step_definitions/
Date: Tue, 24 May 2011 09:41:55 +0000 (UTC) [thread overview]
Message-ID: <7bd845bb4ebcb0b5bff629f8f201e476d58b3a68.betelgeuse@gentoo> (raw)
commit: 7bd845bb4ebcb0b5bff629f8f201e476d58b3a68
Author: Joachim Filip Ignacy Bartosik <jbartosik <AT> gmail <DOT> com>
AuthorDate: Tue May 10 08:44:27 2011 +0000
Commit: Petteri Räty <betelgeuse <AT> gentoo <DOT> org>
CommitDate: Fri May 20 15:02:57 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/council-webapp.git;a=commit;h=7bd845bb
Cookie steps
Useful for problem finding
---
site/Gemfile | 1 +
site/Gemfile.lock | 2 ++
site/features/step_definitions/cookie_steps.rb | 3 +++
site/features/support/cookies.rb | 4 ++++
4 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/site/Gemfile b/site/Gemfile
index 33fb3f8..7a4edfc 100644
--- a/site/Gemfile
+++ b/site/Gemfile
@@ -11,6 +11,7 @@ group :development, :test do
gem 'capybara'
gem 'database_cleaner'
gem 'launchy'
+ gem 'show_me_the_cookies'
end
gem "hobo", ">= 1.3.0.pre28"
diff --git a/site/Gemfile.lock b/site/Gemfile.lock
index e80cd7d..b3ff31a 100644
--- a/site/Gemfile.lock
+++ b/site/Gemfile.lock
@@ -136,6 +136,7 @@ GEM
json_pure
rubyzip
shoulda (2.11.3)
+ show_me_the_cookies (0.2.1)
sqlite3 (1.3.3)
sqlite3-ruby (1.3.3)
sqlite3 (>= 1.3.3)
@@ -161,4 +162,5 @@ DEPENDENCIES
rspec-rails
ruby-debug
shoulda
+ show_me_the_cookies
sqlite3-ruby
diff --git a/site/features/step_definitions/cookie_steps.rb b/site/features/step_definitions/cookie_steps.rb
new file mode 100644
index 0000000..c682c1c
--- /dev/null
+++ b/site/features/step_definitions/cookie_steps.rb
@@ -0,0 +1,3 @@
+Then /^show me the cookies!$/ do
+ show_me_the_cookies
+end
diff --git a/site/features/support/cookies.rb b/site/features/support/cookies.rb
new file mode 100644
index 0000000..84f59b5
--- /dev/null
+++ b/site/features/support/cookies.rb
@@ -0,0 +1,4 @@
+World(ShowMeTheCookies)
+Before('@announce') do
+ @announce = true
+end
reply other threads:[~2011-05-24 9:42 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7bd845bb4ebcb0b5bff629f8f201e476d58b3a68.betelgeuse@gentoo \
--to=betelgeuse@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox