Sha256: 8b93171f77bbcf6f8e5137be5b0a45076362bab920a35031385485bf779739d8

Contents?: true

Size: 383 Bytes

Versions: 7

Compression:

Stored size: 383 Bytes

Contents

require 'spec_helper'

describe 'Viewing sketchily' do

  it 'should render the sketchily html through the form sketchily helper' do
    visit sketchily_path
    page.must_have_selector('#svgedit_drawing_svg')
  end

  it 'should render the sketchily html through the sketchily_tag helper' do
    visit sketchily_tag_path
    page.should have_selector('#svgedit_drawing')
  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
sketchily-4.0.1 spec/features/user_views_sketchily_spec.rb~
sketchily-4.0.0 spec/features/user_views_sketchily_spec.rb~
sketchily-1.5.0 spec/features/user_views_sketchily_spec.rb~
sketchily-1.4.1 spec/features/user_views_sketchily_spec.rb~
sketchily-1.4.0 spec/features/user_views_sketchily_spec.rb~
sketchily-1.3.0 spec/features/user_views_sketchily_spec.rb~
sketchily-1.2.0 spec/features/user_views_sketchily_spec.rb~