12 lines
		
	
	
		
			295 B
		
	
	
	
		
			Ruby
		
	
	
	
		
		
			
		
	
	
			12 lines
		
	
	
		
			295 B
		
	
	
	
		
			Ruby
		
	
	
	
| 
								 | 
							
								require 'spec_helper'
							 | 
						||
| 
								 | 
							
								describe AttributeField do
							 | 
						||
| 
								 | 
							
								  describe "#list field" do
							 | 
						||
| 
								 | 
							
								    context "when field is in type text_field(without add more)" do
							 | 
						||
| 
								 | 
							
								      before(:each) do
							 | 
						||
| 
								 | 
							
								        @attribute_field = AttributeField.new(:key=>'test',:markup=>"text_field")
							 | 
						||
| 
								 | 
							
								        
							 | 
						||
| 
								 | 
							
								        
							 | 
						||
| 
								 | 
							
								      end
							 | 
						||
| 
								 | 
							
								    end
							 | 
						||
| 
								 | 
							
								  end
							 | 
						||
| 
								 | 
							
								end
							 |