Sha256: d127e08e79757e434e862088303c2d0025953a94917f629ae8e3db009079c21f

Contents?: true

Size: 697 Bytes

Versions: 9

Compression:

Stored size: 697 Bytes

Contents

# encoding: UTF-8
require File.expand_path(File.dirname(__FILE__) + '/acceptance_helper')

class EmojiController < ApplicationController
  def index
    render :inline => "<%= emoji_table.black_sun_with_rays %>", :layout => true
  end
end

feature 'emoji table' do
  scenario 'for docomo', :driver => :docomo do
    visit '/emoji'
    page.body.should match("&#xE63E;")
  end

  scenario 'for au', :driver => :au do
    visit '/emoji'
    page.body.should match("&#xE488;")
  end

  scenario 'for softbank', :driver => :softbank do
    visit '/emoji'
    page.body.should match("&#xE04A;")
  end

  scenario 'for non galakei' do
    visit '/emoji'
    page.body.should match("&#x2600;")
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
galakei-0.5.1 spec/acceptance/emoji_table_spec.rb
galakei-0.5.0 spec/acceptance/emoji_table_spec.rb
galakei-0.4.1 spec/acceptance/emoji_table_spec.rb
galakei-0.4.0 spec/acceptance/emoji_table_spec.rb
galakei-0.3.8 spec/acceptance/emoji_table_spec.rb
galakei-0.3.7 spec/acceptance/emoji_table_spec.rb
galakei-0.3.6 spec/acceptance/emoji_table_spec.rb
galakei-0.3.5 spec/acceptance/emoji_table_spec.rb
galakei-0.3.4 spec/acceptance/emoji_table_spec.rb