Lines Matching refs:should
28 it "should initialize" do
29 @installer.data.should == [{
41 it "should be able to add a new entry to the hosts" do
48 it "should only add the main ServerName host to the hosts if there are no aliases" do
54 it "should write the correct vhost file for a Rails application" do
56 File.read(@vhost_file).should == %{
69 it "should write the correct vhost file for a Rack application" do
74 File.read(@vhost_file).should == %{
87 it "should not write the ServerAlias line if there are no aliases" do
90 File.read(@vhost_file).should == %{
102 it "should check if the vhost directory exists, if not add it" do
109 it "should check if our configuration to load the vhosts has been added to the apache conf yet" do
130 it "should not add the vhosts configuration to the apache conf if it's in there already" do
149 it "should not check if our configuration to load the vhosts has been added to the apache conf yet" do
170 it "should restart Apache" do
175 it "should be able to take a serialized array of hashes and do all the work necessary in one go" do