public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/council-webapp:master commit in: site/features/support/, site/, site/features/step_definitions/
@ 2011-05-24  9:41 Petteri Räty
  0 siblings, 0 replies; only message in thread
From: Petteri Räty @ 2011-05-24  9:41 UTC (permalink / raw
  To: gentoo-commits

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



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2011-05-24  9:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-24  9:41 [gentoo-commits] proj/council-webapp:master commit in: site/features/support/, site/, site/features/step_definitions/ Petteri Räty

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox