aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'site/features/support')
-rw-r--r--site/features/support/break_after_failed_step.rb15
-rw-r--r--site/features/support/cookies.rb15
-rw-r--r--site/features/support/env.rb15
-rw-r--r--site/features/support/paths.rb15
-rw-r--r--site/features/support/selectors.rb15
5 files changed, 75 insertions, 0 deletions
diff --git a/site/features/support/break_after_failed_step.rb b/site/features/support/break_after_failed_step.rb
index 42ef606..d884bc6 100644
--- a/site/features/support/break_after_failed_step.rb
+++ b/site/features/support/break_after_failed_step.rb
@@ -1,3 +1,18 @@
+# Gentoo Council Web App - to help Gentoo Council do their job better
+# Copyright (C) 2011 Joachim Filip Bartosik
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as
+# published by the Free Software Foundation, version 3 of the License
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
After do |scenario|
if scenario.status == :failed
breakpoint
diff --git a/site/features/support/cookies.rb b/site/features/support/cookies.rb
index 84f59b5..75cafe6 100644
--- a/site/features/support/cookies.rb
+++ b/site/features/support/cookies.rb
@@ -1,3 +1,18 @@
+# Gentoo Council Web App - to help Gentoo Council do their job better
+# Copyright (C) 2011 Joachim Filip Bartosik
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as
+# published by the Free Software Foundation, version 3 of the License
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
World(ShowMeTheCookies)
Before('@announce') do
@announce = true
diff --git a/site/features/support/env.rb b/site/features/support/env.rb
index a7389e9..eb307a5 100644
--- a/site/features/support/env.rb
+++ b/site/features/support/env.rb
@@ -1,3 +1,18 @@
+# Gentoo Council Web App - to help Gentoo Council do their job better
+# Copyright (C) 2011 Joachim Filip Bartosik
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as
+# published by the Free Software Foundation, version 3 of the License
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
require 'cucumber/rails'
Capybara.default_selector = :css
Capybara.default_driver = :selenium
diff --git a/site/features/support/paths.rb b/site/features/support/paths.rb
index 8bd2f36..b0aa6e1 100644
--- a/site/features/support/paths.rb
+++ b/site/features/support/paths.rb
@@ -1,3 +1,18 @@
+# Gentoo Council Web App - to help Gentoo Council do their job better
+# Copyright (C) 2011 Joachim Filip Bartosik
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as
+# published by the Free Software Foundation, version 3 of the License
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
module NavigationHelpers
# Maps a name to a path. Used by the
#
diff --git a/site/features/support/selectors.rb b/site/features/support/selectors.rb
index 0856127..42482b7 100644
--- a/site/features/support/selectors.rb
+++ b/site/features/support/selectors.rb
@@ -1,3 +1,18 @@
+# Gentoo Council Web App - to help Gentoo Council do their job better
+# Copyright (C) 2011 Joachim Filip Bartosik
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as
+# published by the Free Software Foundation, version 3 of the License
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
module HtmlSelectorsHelpers
# Maps a name to a selector. Used primarily by the
#