Sha256: 84ffac926865cd7b9b52ba3ee48efae6aca539c5867cbe0baf70beb991f7f048

Contents?: true

Size: 248 Bytes

Versions: 2

Compression:

Stored size: 248 Bytes

Contents

# encoding: utf-8
require 'simulacrum_helper'

describe 'My Button' do
  component :my_button do |options|
    options.url = '/button.html'
    options.delta_threshold = 1  # 1% pixel change allowed
  end

  it { is_expected.to look_the_same }
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
simulacrum-0.3.2 examples/basic/spec/ui/button_spec.rb
simulacrum-0.3.1 examples/basic/spec/ui/button_spec.rb