Permalink
Browse files

Support 1.9: # encoding: utf-8

  • Loading branch information...
1 parent b3b5fab commit 387f87f983a945e5f250ddd7c678f2f95e36ed89 @holizz holizz committed Oct 5, 2010
@@ -1,3 +1,5 @@
+# encoding: utf-8
+
require File.expand_path(File.join(File.dirname(__FILE__), "..", "support", "paths"))
# Commonly used webrat steps
@@ -1,3 +1,5 @@
+# encoding: utf-8
+
#
# All the standard stuff
#
@@ -1,3 +1,5 @@
+# encoding: utf-8
+
require 'cucumber-wordpress'
module NavigationHelpers
@@ -1,3 +1,5 @@
+# encoding: utf-8
+
require 'singleton'
require 'fileutils'
require 'uri'
@@ -1,3 +1,5 @@
+# encoding: utf-8
+
class WordPress
def path_to(page_name)
partial = case page_name
@@ -1,3 +1,5 @@
+# encoding: utf-8
+
def see? content
see_within? '.', content
end
@@ -1,3 +1,5 @@
+# encoding: utf-8
+
Given /^WordPress is installed$/ do
visit path_to 'homepage'
title = 'A Very Boring Test Title'
@@ -1,3 +1,5 @@
+# encoding: utf-8
+
Then /^plugin "([^\"]*)" should be (enabled|disabled)$/ do |plugin,able|
Given 'I am logged in as "admin"'
Given 'I am on plugins'
@@ -1,3 +1,5 @@
+# encoding: utf-8
+
require 'rspec/mocks/spec_methods'
#
# Let's fix a few bugs in Webrat!

0 comments on commit 387f87f

Please sign in to comment.