Sha256: ab36e47952e7927ad7f81c710ef00a494ab15316541db493cf66d0fe77ad9eac
Contents?: true
Size: 739 Bytes
Versions: 9
Compression:
Stored size: 739 Bytes
Contents
# encoding: utf-8 require "spec_helper" describe "JS behaviour", :js => true do before do @user = User.new :name => "Lucia", :last_name => "Napoli", :email => "lucianapoli@gmail.com", :address => "Via Roma 99", :zip => "25123", :country => "2", :receive_email => false, :description => "User description" end it "should be able to use bip_text to update a text area" do @user.save! visit user_path(@user) within("#description") do page.should have_content("User description") end bip_area @user, :description, "A new description" visit user_path(@user) within("#description") do page.should have_content("A new description") end end end
Version data entries
9 entries across 9 versions & 3 rubygems