/
app_spec.rb
35 lines (30 loc) · 1.04 KB
/
app_spec.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
require 'spec_helper'
describe Gitara::App do
describe "#export" do
it "can convert a tab to lilypond" do
app_test = AppTester.new(:name => 'tab')
app_test.run
app_test.actual.should == app_test.expected
end
it "can convert a tab with a partial to lilypond" do
app_test = AppTester.new(:name => 'tab-with-partial')
app_test.run
app_test.actual.should == app_test.expected
end
it "can convert a tab with alternate tuning to lilypond" do
app_test = AppTester.new(:name => 'tab-with-alternate-tuning')
app_test.run
app_test.actual.should == app_test.expected
end
it "can convert a tab with a specified key signature to lilypond" do
app_test = AppTester.new(:name => 'tab-with-key-signature')
app_test.run
app_test.actual.should == app_test.expected
end
it "can convert a tab with repeats to lilypond" do
app_test = AppTester.new(:name => 'tab-with-repeats')
app_test.run
app_test.actual.should == app_test.expected
end
end
end