This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# encoding: UTF-8 | |
Given /^exists a lote$/ do | |
user = Factory :user, | |
Gastos_envio: "Aceptamos pago mediante tarjeta de crédito DIRECTAMENTE CON NOSOTROS, | |
Paypal (pagos superiores a 20 euros), por transferencia bancaria / ingreso en | |
cuenta, o en mano si se recoge el artículo en nuestra tienda. Envío por correo | |
CERTIFICADO (no realizamos envíos por correo ordinario), según tarifas vigentes | |
a España. No enviamos contrareembolso. Si en una semana no se ha recibido el pago | |
se anulará la venta y se notificará el impago" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# encoding: UTF-8 | |
require 'test_helper' | |
class FactoryTest < ActiveSupport::TestCase | |
FactoryGirl.factories.map(&:name).each do |factory_name| | |
context "The #{factory_name} factory" do | |
setup do | |
# ... | |
@factory = FactoryGirl.build(factory_name) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<span class="act-as-link" href="/app/quienes-somos">********FOO LINK********</span> | |
<br /><br /><br /><br /> |