Browse Source

Setting up some more directory structure for tests

pull/258/head
jlukic 11 years ago
parent
commit
d0f9d5fd13
3 changed files with 33 additions and 0 deletions
  1. 1
      .gitignore
  2. 25
      test/fixtures/modal.html
  3. 7
      test/modules/modal.spec.js

1
.gitignore

@ -1,6 +1,7 @@
docs/
node_modules
node/server.json
test/coverage
# Numerous always-ignore extensions
*.diff

25
test/fixtures/modal.html

@ -0,0 +1,25 @@
<div class="ui test modal">
<i class="close icon"></i>
<div class="header">
Profile Picture
</div>
<div class="content">
<div class="left">
<img class="ui fluid image" src="/images/demo/avatar2.jpg">
</div>
<div class="right">
<div class="ui header">Are you sure you want to upload that?</div>
<p>I mean it's not really the best profile photo.</p>
<p>It's resampled to like two times the size it's suppose to be. Our image detection software also says it might even be inappropriate.</p>
</div>
</div>
<div class="actions">
<div class="ui black button">
Cancel
</div>
<div class="ui green right labeled icon button">
Add Photo
<i class="checkmark icon"></i>
</div>
</div>
</div>

7
test/modules/modal.spec.js

@ -0,0 +1,7 @@
describe("UI Modal", function() {
it("should have an instance in metadata after init", function() {
expect(true).toBe(true);
});
});
Loading…
Cancel
Save