spec/rpub/commands/preview_spec.rb in rpub-0.1.0 vs spec/rpub/commands/preview_spec.rb in rpub-0.2.0

- old
+ new

@@ -16,9 +16,10 @@ it { should include('<p>foo</p>') } it { should include('<p>bar</p>') } it { should match(/foo.*bar/m) } it { should match(/<head>/) } + it { should match(/<style>/) } end it 'should create new preview file' do expect { Rpub::Commands::Preview.new.invoke