gif mime
This commit is contained in:
parent
8f642e709b
commit
1431196c85
1 changed files with 6 additions and 0 deletions
|
@ -43,6 +43,12 @@ describe "couchapp" do
|
|||
doc = @db.get("_design/my-app")
|
||||
doc['views']['example']['map'].should match(/function/)
|
||||
end
|
||||
it "should create view for all the views" do
|
||||
`echo 'moremap' > #{@fixdir}/my-app/views/more-map.js`
|
||||
`#{@run} push my-app #{TESTDB}`
|
||||
doc = @db.get("_design/my-app")
|
||||
doc['views']['more']['map'].should match(/moremap/)
|
||||
end
|
||||
it "should create the index" do
|
||||
`#{@run} push my-app #{TESTDB}`
|
||||
doc = @db.get("_design/my-app")
|
||||
|
|
Loading…
Reference in a new issue