galakei 0.13.7 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.travis.yml +3 -0
- data/Gemfile +1 -1
- data/README.rdoc +2 -0
- data/galakei.gemspec +1 -2
- data/lib/galakei.rb +2 -1
- data/lib/galakei/filter/base.rb +4 -0
- data/lib/galakei/filter/content_type.rb +1 -1
- data/lib/galakei/filter/hankaku.rb +1 -1
- data/lib/galakei/filter/non_standard_char.rb +1 -2
- data/lib/galakei/lookup.rb +11 -0
- data/lib/galakei/lookup/browser_detail.rb +11 -0
- data/lib/galakei/lookup/railtie.rb +11 -0
- data/lib/galakei/railtie.rb +1 -1
- data/lib/galakei/route_constraints.rb +3 -0
- data/lib/galakei/route_constraints/galakei_only.rb +16 -0
- data/lib/galakei/version.rb +1 -1
- data/spec/acceptance/acceptance_helper.rb +1 -1
- data/spec/acceptance/au_mail_interceptor_spec.rb +1 -1
- data/spec/acceptance/content_type_spec.rb +22 -0
- data/spec/acceptance/docomo_css_spec.rb +1 -1
- data/spec/acceptance/emoji_table_spec.rb +1 -1
- data/spec/acceptance/haml_spec.rb +1 -1
- data/spec/acceptance/handset_detection_spec.rb +1 -1
- data/spec/acceptance/hankaku_filter_spec.rb +1 -2
- data/spec/acceptance/input_mode_spec.rb +1 -1
- data/spec/acceptance/lookup_spec.rb +26 -0
- data/spec/acceptance/non_standard_char_spec.rb +16 -1
- data/spec/acceptance/recode_spec.rb +2 -1
- data/spec/acceptance/session_spec.rb +1 -1
- data/spec/app/app/views/lookup/index.full.html.haml +1 -0
- data/spec/app/app/views/lookup/index.galakei.html.haml +1 -0
- data/spec/app/app/views/lookup/index.html.haml +1 -0
- data/spec/galakei/route_constraints/galakei_only.rb +24 -0
- metadata +24 -26
- data/config/initializers/mime_types.rb +0 -1
- data/lib/galakei/filter/views.rb +0 -10
- data/spec/acceptance/views_spec.rb +0 -13
data/.travis.yml
ADDED
data/Gemfile
CHANGED
data/README.rdoc
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
= Galakei: Japanese feature phone support
|
2
2
|
|
3
|
+
{<img src="https://secure.travis-ci.org/mobalean/galakei.png?branch=master" alt="Build Status" />}[http://travis-ci.org/mobalean/galakei]
|
4
|
+
|
3
5
|
{Japanese feature phones}[http://www.mobalean.com/en/keitai_web_technology_guide] (a.k.a., keitai, galakei) have a number of restrictions over normal web browsers. This library adds support for them.
|
4
6
|
|
5
7
|
galakeiは簡単にガラケー対応Rails Gem。「Doorkeeper」という {イベント運営}[http://www.doorkeeper.jp] サービスがこのgemを使っている。
|
data/galakei.gemspec
CHANGED
@@ -15,8 +15,7 @@ Gem::Specification.new do |s|
|
|
15
15
|
s.require_path = 'lib'
|
16
16
|
s.rubyforge_project = "galakei"
|
17
17
|
|
18
|
-
s.add_dependency 'actionpack', '>= 3.0
|
19
|
-
s.add_dependency 'rack', '>= 1.2.1'
|
18
|
+
s.add_dependency 'actionpack', '>= 3.2.0'
|
20
19
|
s.add_dependency 'css_parser'
|
21
20
|
s.add_dependency 'nokogiri'
|
22
21
|
s.add_dependency 'sanitize'
|
data/lib/galakei.rb
CHANGED
@@ -24,6 +24,8 @@ module Galakei
|
|
24
24
|
autoload :EmojiTable, "galakei/emoji_table"
|
25
25
|
autoload :SessionIdParameterInForm, "galakei/session_id_parameter_in_form"
|
26
26
|
autoload :Spacer, "galakei/spacer"
|
27
|
+
autoload :Lookup, "galakei/lookup"
|
28
|
+
autoload :RouteConstraints, "galakei/route_constraints"
|
27
29
|
module Filter # :nodoc:
|
28
30
|
autoload :Base, "galakei/filter/base"
|
29
31
|
autoload :ContentType, "galakei/filter/content_type"
|
@@ -31,7 +33,6 @@ module Galakei
|
|
31
33
|
autoload :Hankaku, "galakei/filter/hankaku"
|
32
34
|
autoload :NonStandardChar, "galakei/filter/non_standard_char"
|
33
35
|
autoload :Recode, "galakei/filter/recode"
|
34
|
-
autoload :Views, "galakei/filter/views"
|
35
36
|
end
|
36
37
|
end
|
37
38
|
|
data/lib/galakei/filter/base.rb
CHANGED
@@ -7,8 +7,7 @@ Some are supported on galakei, but others aren't. The correct version will be us
|
|
7
7
|
class Galakei::Filter::NonStandardChar < Galakei::Filter::Base
|
8
8
|
# :stopdoc:
|
9
9
|
def condition?
|
10
|
-
response.
|
11
|
-
(response.charset || Rails.application.config.encoding).downcase == "utf-8"
|
10
|
+
html_content_type? && (response.charset || Rails.application.config.encoding).downcase == "utf-8"
|
12
11
|
end
|
13
12
|
|
14
13
|
def filter
|
@@ -0,0 +1,11 @@
|
|
1
|
+
module Galakei
|
2
|
+
=begin
|
3
|
+
In many cases you want to serve different templates for galakei handsets. Galakei registeres a browser detail for lookup, so you can use ":prefix/:action.{:browsers}{.:formats,}{.:handlers,}" for your templates.
|
4
|
+
|
5
|
+
For instance: index.galakei.html.haml will be used (if present) for galakei and index.full.html.haml will be used for full featured browsers. If not present, it will use the usual templates.
|
6
|
+
|
7
|
+
=end
|
8
|
+
module Lookup
|
9
|
+
autoload :BrowserDetail, "galakei/lookup/browser_detail"
|
10
|
+
end
|
11
|
+
end
|
@@ -0,0 +1,11 @@
|
|
1
|
+
class Galakei::Lookup::Railtie < Rails::Railtie # :nodoc:
|
2
|
+
initializer "galakei.register.lookup" do
|
3
|
+
ActiveSupport.on_load :action_controller do
|
4
|
+
include Galakei::Lookup::BrowserDetail
|
5
|
+
prepend_view_path ActionView::FileSystemResolver.new(Rails.root.join("app","views"), ":prefix/:action.{:browsers}{.:formats,}{.:handlers,}")
|
6
|
+
end
|
7
|
+
ActiveSupport.on_load :action_view do
|
8
|
+
ActionView::LookupContext.register_detail(:browsers) { [:full, :smartphone, :galakei] }
|
9
|
+
end
|
10
|
+
end
|
11
|
+
end
|
data/lib/galakei/railtie.rb
CHANGED
@@ -4,7 +4,6 @@ module Galakei
|
|
4
4
|
initializer "galakei.extend.action_controller" do |app|
|
5
5
|
ActiveSupport.on_load :action_controller do
|
6
6
|
include Galakei::HelperMethods
|
7
|
-
before_filter Galakei::Filter::Views, :if => :galakei?
|
8
7
|
after_filter Galakei::Filter::ContentType, :if => lambda {|c| Galakei::Filter::ContentType.condition?(c) }
|
9
8
|
before_filter Galakei::Filter::Recode::Params, :if => lambda {|c| Galakei::Filter::Recode.condition?(c) }
|
10
9
|
after_filter Galakei::Filter::Recode::Response, :if => lambda {|c| Galakei::Filter::Recode.condition?(c) }
|
@@ -22,3 +21,4 @@ end
|
|
22
21
|
require 'galakei/session_id_parameter/railtie'
|
23
22
|
require 'galakei/docomo_css/railtie'
|
24
23
|
require 'galakei/email/railtie'
|
24
|
+
require 'galakei/lookup/railtie'
|
@@ -0,0 +1,16 @@
|
|
1
|
+
module Galakei::RouteConstraints
|
2
|
+
=begin
|
3
|
+
Galakei usually doesn't support PUT / DELETE requests, so you sometimes need to define somes for galakei. Use this route constraint to restrict those routes to requests from galakei only.
|
4
|
+
|
5
|
+
Example routes:
|
6
|
+
|
7
|
+
put 'resend'
|
8
|
+
get 'resend', :constraints => Galakei::RouteConstraints::GalakeiOnly
|
9
|
+
|
10
|
+
=end
|
11
|
+
module GalakeiOnly
|
12
|
+
def self.matches?(request)
|
13
|
+
request.galakei?
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
data/lib/galakei/version.rb
CHANGED
@@ -0,0 +1,22 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
require 'acceptance/acceptance_helper'
|
3
|
+
|
4
|
+
class ContentTypeController < ApplicationController
|
5
|
+
def index
|
6
|
+
render :layout => true, :inline => "Test"
|
7
|
+
end
|
8
|
+
end
|
9
|
+
|
10
|
+
feature 'content type' do
|
11
|
+
%w[au softbank].each do |d|
|
12
|
+
scenario d, :driver => d.to_sym do
|
13
|
+
visit '/content_type'
|
14
|
+
page.response_headers['Content-Type'].should == "text/html; charset=utf-8"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
scenario "docomo", :driver => :docomo do
|
18
|
+
visit '/content_type'
|
19
|
+
page.response_headers['Content-Type'].should == 'application/xhtml+xml; charset=utf-8'
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: UTF-8
|
2
|
-
require
|
2
|
+
require 'acceptance/acceptance_helper'
|
3
3
|
|
4
4
|
class HankakuController < ApplicationController
|
5
5
|
def index
|
@@ -40,5 +40,4 @@ feature 'hankaku conversion' do
|
|
40
40
|
visit '/hankaku'
|
41
41
|
page.find("#hankaku").text.should == "メインガギ漢字ひらがな"
|
42
42
|
end
|
43
|
-
|
44
43
|
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
require 'acceptance/acceptance_helper'
|
3
|
+
|
4
|
+
class LookupController < ApplicationController
|
5
|
+
def index
|
6
|
+
end
|
7
|
+
end
|
8
|
+
|
9
|
+
feature 'template lookup' do
|
10
|
+
scenario 'full browser' do
|
11
|
+
visit '/lookup'
|
12
|
+
page.body.should match("full browser")
|
13
|
+
end
|
14
|
+
scenario 'for docomo', :driver => :docomo do
|
15
|
+
visit '/lookup'
|
16
|
+
page.body.should match("galakei")
|
17
|
+
end
|
18
|
+
scenario 'for au', :driver => :au do
|
19
|
+
visit '/lookup'
|
20
|
+
page.body.should match("galakei")
|
21
|
+
end
|
22
|
+
scenario 'for softbank', :driver => :softbank do
|
23
|
+
visit '/lookup'
|
24
|
+
page.body.should match("galakei")
|
25
|
+
end
|
26
|
+
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: UTF-8
|
2
|
-
require
|
2
|
+
require 'acceptance/acceptance_helper'
|
3
3
|
|
4
4
|
class NonStandardCharController < ApplicationController
|
5
5
|
def self.character(name, value, options = {})
|
@@ -23,6 +23,14 @@ class NonStandardCharController < ApplicationController
|
|
23
23
|
character :nakaguro_half, "\uFF65"
|
24
24
|
character :nakaguro_full, "\u30FB"
|
25
25
|
character :sdot, "\u22C5", named: true
|
26
|
+
|
27
|
+
def gif
|
28
|
+
respond_to do |format|
|
29
|
+
format.gif do
|
30
|
+
send_data("\u00B7", :disposition => "inline", :type => :gif)
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
26
34
|
end
|
27
35
|
|
28
36
|
shared_examples_for "convert character" do |type, path|
|
@@ -50,4 +58,11 @@ feature 'nakaguro' do
|
|
50
58
|
it_should_behave_like "convert character", :half, :sdot_hex
|
51
59
|
it_should_behave_like "convert character", :half, :sdot_dec
|
52
60
|
it_should_behave_like "convert character", :half, :sdot_named
|
61
|
+
|
62
|
+
%w[au docomo softbank].each do |driver|
|
63
|
+
scenario "should not convert gif containing matching data for #{driver}", :driver => driver.to_sym do
|
64
|
+
visit "/non_standard_char/gif.gif"
|
65
|
+
page.source.should == "\u00B7"
|
66
|
+
end
|
67
|
+
end
|
53
68
|
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: UTF-8
|
2
|
-
require
|
2
|
+
require 'acceptance/acceptance_helper'
|
3
3
|
|
4
4
|
class RecodeController < ApplicationController
|
5
5
|
class << self
|
@@ -22,6 +22,7 @@ class RecodeController < ApplicationController
|
|
22
22
|
def create
|
23
23
|
self.class.string = params[:string]
|
24
24
|
end
|
25
|
+
|
25
26
|
end
|
26
27
|
|
27
28
|
feature 'recode' do
|
@@ -0,0 +1 @@
|
|
1
|
+
full browser
|
@@ -0,0 +1 @@
|
|
1
|
+
galakei
|
@@ -0,0 +1 @@
|
|
1
|
+
no browser
|
@@ -0,0 +1,24 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe Galakei::RouteConstraints::GalakeiOnly do
|
4
|
+
describe "from Firefox" do
|
5
|
+
let(:req) { Rack::Request.new(env_for_firefox) }
|
6
|
+
it { Galakei::RouteConstraints::GalakeiOnly.matches?(req).should be_false }
|
7
|
+
end
|
8
|
+
describe "from Docomo SH-06A" do
|
9
|
+
let(:req) { Rack::Request.new(env_for_docomo_1_0) }
|
10
|
+
it { Galakei::RouteConstraints::GalakeiOnly.matches?(req).should be_true }
|
11
|
+
end
|
12
|
+
describe "from AU W54SH" do
|
13
|
+
let(:req) { Rack::Request.new(env_for_au_7_2) }
|
14
|
+
it { Galakei::RouteConstraints::GalakeiOnly.matches?(req).should be_true }
|
15
|
+
end
|
16
|
+
describe "from Vodafone" do
|
17
|
+
let(:req) { Rack::Request.new(env_for_vodafone) }
|
18
|
+
it { Galakei::RouteConstraints::GalakeiOnly.matches?(req).should be_true }
|
19
|
+
end
|
20
|
+
describe "from Softbank 709SC" do
|
21
|
+
let(:req) { Rack::Request.new(env_for_softbank) }
|
22
|
+
it { Galakei::RouteConstraints::GalakeiOnly.matches?(req).should be_true }
|
23
|
+
end
|
24
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: galakei
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.14.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -11,33 +11,22 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2012-
|
14
|
+
date: 2012-04-29 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: actionpack
|
18
|
-
requirement: &
|
18
|
+
requirement: &70108572136700 !ruby/object:Gem::Requirement
|
19
19
|
none: false
|
20
20
|
requirements:
|
21
21
|
- - ! '>='
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: 3.0
|
23
|
+
version: 3.2.0
|
24
24
|
type: :runtime
|
25
25
|
prerelease: false
|
26
|
-
version_requirements: *
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: rack
|
29
|
-
requirement: &2152213800 !ruby/object:Gem::Requirement
|
30
|
-
none: false
|
31
|
-
requirements:
|
32
|
-
- - ! '>='
|
33
|
-
- !ruby/object:Gem::Version
|
34
|
-
version: 1.2.1
|
35
|
-
type: :runtime
|
36
|
-
prerelease: false
|
37
|
-
version_requirements: *2152213800
|
26
|
+
version_requirements: *70108572136700
|
38
27
|
- !ruby/object:Gem::Dependency
|
39
28
|
name: css_parser
|
40
|
-
requirement: &
|
29
|
+
requirement: &70108572136040 !ruby/object:Gem::Requirement
|
41
30
|
none: false
|
42
31
|
requirements:
|
43
32
|
- - ! '>='
|
@@ -45,10 +34,10 @@ dependencies:
|
|
45
34
|
version: '0'
|
46
35
|
type: :runtime
|
47
36
|
prerelease: false
|
48
|
-
version_requirements: *
|
37
|
+
version_requirements: *70108572136040
|
49
38
|
- !ruby/object:Gem::Dependency
|
50
39
|
name: nokogiri
|
51
|
-
requirement: &
|
40
|
+
requirement: &70108572134920 !ruby/object:Gem::Requirement
|
52
41
|
none: false
|
53
42
|
requirements:
|
54
43
|
- - ! '>='
|
@@ -56,10 +45,10 @@ dependencies:
|
|
56
45
|
version: '0'
|
57
46
|
type: :runtime
|
58
47
|
prerelease: false
|
59
|
-
version_requirements: *
|
48
|
+
version_requirements: *70108572134920
|
60
49
|
- !ruby/object:Gem::Dependency
|
61
50
|
name: sanitize
|
62
|
-
requirement: &
|
51
|
+
requirement: &70108572133560 !ruby/object:Gem::Requirement
|
63
52
|
none: false
|
64
53
|
requirements:
|
65
54
|
- - ! '>='
|
@@ -67,7 +56,7 @@ dependencies:
|
|
67
56
|
version: '0'
|
68
57
|
type: :runtime
|
69
58
|
prerelease: false
|
70
|
-
version_requirements: *
|
59
|
+
version_requirements: *70108572133560
|
71
60
|
description: Japanese feature phones (a.k.a., keitai, galakei) have a number of restrictions
|
72
61
|
over normal web browsers. This library adds support for them
|
73
62
|
email: info@mobalean.com
|
@@ -76,12 +65,12 @@ extensions: []
|
|
76
65
|
extra_rdoc_files: []
|
77
66
|
files:
|
78
67
|
- .gitignore
|
68
|
+
- .travis.yml
|
79
69
|
- Gemfile
|
80
70
|
- LICENSE
|
81
71
|
- README.rdoc
|
82
72
|
- Rakefile
|
83
73
|
- app/controllers/galakei/spacer_controller.rb
|
84
|
-
- config/initializers/mime_types.rb
|
85
74
|
- config/routes.rb
|
86
75
|
- galakei.gemspec
|
87
76
|
- lib/galakei.rb
|
@@ -100,11 +89,15 @@ files:
|
|
100
89
|
- lib/galakei/filter/hankaku.rb
|
101
90
|
- lib/galakei/filter/non_standard_char.rb
|
102
91
|
- lib/galakei/filter/recode.rb
|
103
|
-
- lib/galakei/filter/views.rb
|
104
92
|
- lib/galakei/helper_methods.rb
|
105
93
|
- lib/galakei/input_mode.rb
|
94
|
+
- lib/galakei/lookup.rb
|
95
|
+
- lib/galakei/lookup/browser_detail.rb
|
96
|
+
- lib/galakei/lookup/railtie.rb
|
106
97
|
- lib/galakei/railtie.rb
|
107
98
|
- lib/galakei/request.rb
|
99
|
+
- lib/galakei/route_constraints.rb
|
100
|
+
- lib/galakei/route_constraints/galakei_only.rb
|
108
101
|
- lib/galakei/session_id_parameter.rb
|
109
102
|
- lib/galakei/session_id_parameter/in_form.rb
|
110
103
|
- lib/galakei/session_id_parameter/in_url.rb
|
@@ -116,23 +109,27 @@ files:
|
|
116
109
|
- spec/.gitignore
|
117
110
|
- spec/acceptance/acceptance_helper.rb
|
118
111
|
- spec/acceptance/au_mail_interceptor_spec.rb
|
112
|
+
- spec/acceptance/content_type_spec.rb
|
119
113
|
- spec/acceptance/docomo_css_spec.rb
|
120
114
|
- spec/acceptance/emoji_table_spec.rb
|
121
115
|
- spec/acceptance/haml_spec.rb
|
122
116
|
- spec/acceptance/handset_detection_spec.rb
|
123
117
|
- spec/acceptance/hankaku_filter_spec.rb
|
124
118
|
- spec/acceptance/input_mode_spec.rb
|
119
|
+
- spec/acceptance/lookup_spec.rb
|
125
120
|
- spec/acceptance/non_standard_char_spec.rb
|
126
121
|
- spec/acceptance/recode_spec.rb
|
127
122
|
- spec/acceptance/session_spec.rb
|
128
123
|
- spec/acceptance/support/capybara_ssl_fix.rb
|
129
124
|
- spec/acceptance/support/handsets.rb
|
130
125
|
- spec/acceptance/support/input_mode_matchers.rb
|
131
|
-
- spec/acceptance/views_spec.rb
|
132
126
|
- spec/app/.gitignore
|
133
127
|
- spec/app/app/assets/stylesheets/docomo_css/simple.css
|
134
128
|
- spec/app/app/views/haml/index.html.haml
|
135
129
|
- spec/app/app/views/layouts/application.html.haml
|
130
|
+
- spec/app/app/views/lookup/index.full.html.haml
|
131
|
+
- spec/app/app/views/lookup/index.galakei.html.haml
|
132
|
+
- spec/app/app/views/lookup/index.html.haml
|
136
133
|
- spec/app/fake.rb
|
137
134
|
- spec/controllers/galakei/spacer_controller_spec.rb
|
138
135
|
- spec/galakei/docomo_css/stylesheet_spec.rb
|
@@ -141,6 +138,7 @@ files:
|
|
141
138
|
- spec/galakei/filter/content_type_spec.rb
|
142
139
|
- spec/galakei/filter/hankaku_spec.rb
|
143
140
|
- spec/galakei/request_spec.rb
|
141
|
+
- spec/galakei/route_constraints/galakei_only.rb
|
144
142
|
- spec/galakei/spacer_spec.rb
|
145
143
|
- spec/spec_helper.rb
|
146
144
|
homepage: http://galakei.mobalean.com/
|
@@ -163,7 +161,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
163
161
|
version: '0'
|
164
162
|
requirements: []
|
165
163
|
rubyforge_project: galakei
|
166
|
-
rubygems_version: 1.8.
|
164
|
+
rubygems_version: 1.8.17
|
167
165
|
signing_key:
|
168
166
|
specification_version: 3
|
169
167
|
summary: Japanese feature phones support
|
@@ -1 +0,0 @@
|
|
1
|
-
Mime::Type.register 'image/gif', :gif
|
data/lib/galakei/filter/views.rb
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
Have a PC site that you want to add galakei templates for? Put your views in app/views.galakei and they'll be used in preference to your normal app/views
|
3
|
-
=end
|
4
|
-
class Galakei::Filter::Views < Galakei::Filter::Base
|
5
|
-
# :stopdoc:
|
6
|
-
def filter
|
7
|
-
logger.debug("appending galakei views")
|
8
|
-
prepend_view_path(::Rails.root.join('app','views.galakei'))
|
9
|
-
end
|
10
|
-
end
|
@@ -1,13 +0,0 @@
|
|
1
|
-
# encoding: UTF-8
|
2
|
-
require File.expand_path(File.dirname(__FILE__) + '/acceptance_helper')
|
3
|
-
|
4
|
-
class ViewsController < ApplicationController
|
5
|
-
def index
|
6
|
-
end
|
7
|
-
end
|
8
|
-
|
9
|
-
feature 'View path appending' do
|
10
|
-
scenario 'for docomo', :driver => :docomo do
|
11
|
-
visit '/views'
|
12
|
-
end
|
13
|
-
end
|