Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move importer_documentation views #10

Merged
merged 1 commit into from
Aug 6, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/zizia/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Zizia
VERSION = '2.1.0.alpha.05'
VERSION = '2.1.0.alpha.06'
end
9 changes: 0 additions & 9 deletions spec/views/importer_documentation/guide.html.erb_spec.rb

This file was deleted.

13 changes: 13 additions & 0 deletions spec/views/zizia/importer_documentation/guide.html.erb_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# frozen_string_literal: true
require 'spec_helper'

RSpec.describe "zizia/importer_documentation/guide.html.erb", type: :view do
before do
view.stub(:render_guide).and_return('<h1 id="title">Title</h1>')
end

it 'renders as html' do
render
expect(rendered).to match(/<h1 id="title">Title<\/h1>/)
end
end