Sha256: 14cc7062d63dabe616291c9f8c08474a02a976448846a4cc95bb51ff8d1798e1
Contents?: true
Size: 354 Bytes
Versions: 20
Compression:
Stored size: 354 Bytes
Contents
require 'spec_helper' describe NinjaModel::Validation do class ValidationModel < NinjaModel::Base attribute :testing, :integer validates :testing, :numericality => true end before { @obj = ValidationModel.new } subject { @obj } it { should respond_to(:save) } it { should respond_to(:valid?) } describe 'save' do end end
Version data entries
20 entries across 20 versions & 1 rubygems